All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selftests/ftrace: make kprobe profile testcase description unique
@ 2021-11-30 12:25 Heiko Carstens
  2021-11-30 14:11 ` Masami Hiramatsu
  0 siblings, 1 reply; 5+ messages in thread
From: Heiko Carstens @ 2021-11-30 12:25 UTC (permalink / raw)
  To: Masami Hiramatsu, Shuah Khan, Steven Rostedt
  Cc: linux-kernel, Alexander Egorenkov

Commit 32f6e5da83c7 ("selftests/ftrace: Add kprobe profile testcase")
added a new kprobes testcase, but has a description which does not
describe what the test case is doing and is duplicating the desription
of another test case.
Therefore change the test case description, so it is unique and then
allows easily to tell which test case actually passed or failed.

Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
---
 tools/testing/selftests/ftrace/test.d/kprobe/profile.tc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc b/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
index 98166fa3eb91..34fb89b0c61f 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
@@ -1,6 +1,6 @@
 #!/bin/sh
 # SPDX-License-Identifier: GPL-2.0
-# description: Kprobe dynamic event - adding and removing
+# description: Kprobe profile
 # requires: kprobe_events
 
 ! grep -q 'myevent' kprobe_profile
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] selftests/ftrace: make kprobe profile testcase description unique
  2021-11-30 12:25 [PATCH] selftests/ftrace: make kprobe profile testcase description unique Heiko Carstens
@ 2021-11-30 14:11 ` Masami Hiramatsu
  2021-11-30 16:01   ` Steven Rostedt
  0 siblings, 1 reply; 5+ messages in thread
From: Masami Hiramatsu @ 2021-11-30 14:11 UTC (permalink / raw)
  To: Heiko Carstens
  Cc: Shuah Khan, Steven Rostedt, linux-kernel, Alexander Egorenkov

On Tue, 30 Nov 2021 13:25:46 +0100
Heiko Carstens <hca@linux.ibm.com> wrote:

> Commit 32f6e5da83c7 ("selftests/ftrace: Add kprobe profile testcase")
> added a new kprobes testcase, but has a description which does not
> describe what the test case is doing and is duplicating the desription
> of another test case.
> Therefore change the test case description, so it is unique and then
> allows easily to tell which test case actually passed or failed.

Good catch!

This looks good to me.

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>

Thank you,

> 
> Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com>
> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
> ---
>  tools/testing/selftests/ftrace/test.d/kprobe/profile.tc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc b/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
> index 98166fa3eb91..34fb89b0c61f 100644
> --- a/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
> +++ b/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
> @@ -1,6 +1,6 @@
>  #!/bin/sh
>  # SPDX-License-Identifier: GPL-2.0
> -# description: Kprobe dynamic event - adding and removing
> +# description: Kprobe profile
>  # requires: kprobe_events
>  
>  ! grep -q 'myevent' kprobe_profile
> -- 
> 2.32.0
> 


-- 
Masami Hiramatsu <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] selftests/ftrace: make kprobe profile testcase description unique
  2021-11-30 14:11 ` Masami Hiramatsu
@ 2021-11-30 16:01   ` Steven Rostedt
  2021-11-30 16:21     ` Shuah Khan
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Rostedt @ 2021-11-30 16:01 UTC (permalink / raw)
  To: Masami Hiramatsu, Shuah Khan, Shuah Khan
  Cc: Heiko Carstens, linux-kernel, Alexander Egorenkov

On Tue, 30 Nov 2021 23:11:30 +0900
Masami Hiramatsu <mhiramat@kernel.org> wrote:

> On Tue, 30 Nov 2021 13:25:46 +0100
> Heiko Carstens <hca@linux.ibm.com> wrote:
> 
> > Commit 32f6e5da83c7 ("selftests/ftrace: Add kprobe profile testcase")
> > added a new kprobes testcase, but has a description which does not
> > describe what the test case is doing and is duplicating the desription
> > of another test case.
> > Therefore change the test case description, so it is unique and then
> > allows easily to tell which test case actually passed or failed.  
> 
> Good catch!
> 
> This looks good to me.
> 
> Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
> 

Shuah,

Care to take this through your tree?

Thanks!

-- Steve

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] selftests/ftrace: make kprobe profile testcase description unique
  2021-11-30 16:01   ` Steven Rostedt
@ 2021-11-30 16:21     ` Shuah Khan
  2021-11-30 16:39       ` Shuah Khan
  0 siblings, 1 reply; 5+ messages in thread
From: Shuah Khan @ 2021-11-30 16:21 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu, Heiko Carstens, Shuah Khan
  Cc: linux-kernel, Alexander Egorenkov, Shuah Khan

On 11/30/21 9:01 AM, Steven Rostedt wrote:
> On Tue, 30 Nov 2021 23:11:30 +0900
> Masami Hiramatsu <mhiramat@kernel.org> wrote:
> 
>> On Tue, 30 Nov 2021 13:25:46 +0100
>> Heiko Carstens <hca@linux.ibm.com> wrote:
>>
>>> Commit 32f6e5da83c7 ("selftests/ftrace: Add kprobe profile testcase")
>>> added a new kprobes testcase, but has a description which does not
>>> describe what the test case is doing and is duplicating the desription

Typo - I can fix it when I apply. checkpatch.pl does it for you btw.

>>> of another test case.
>>> Therefore change the test case description, so it is unique and then
>>> allows easily to tell which test case actually passed or failed.
>>
>> Good catch!
>>
>> This looks good to me.
>>
>> Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
>>
> 
> Shuah,
> 
> Care to take this through your tree?
> 

Yes. I can queue this up.

thanks,
-- Shuah

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] selftests/ftrace: make kprobe profile testcase description unique
  2021-11-30 16:21     ` Shuah Khan
@ 2021-11-30 16:39       ` Shuah Khan
  0 siblings, 0 replies; 5+ messages in thread
From: Shuah Khan @ 2021-11-30 16:39 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu, Heiko Carstens, Shuah Khan
  Cc: linux-kernel, Alexander Egorenkov, Shuah Khan

On 11/30/21 9:21 AM, Shuah Khan wrote:
> On 11/30/21 9:01 AM, Steven Rostedt wrote:
>> On Tue, 30 Nov 2021 23:11:30 +0900
>> Masami Hiramatsu <mhiramat@kernel.org> wrote:
>>
>>> On Tue, 30 Nov 2021 13:25:46 +0100
>>> Heiko Carstens <hca@linux.ibm.com> wrote:
>>>
>>>> Commit 32f6e5da83c7 ("selftests/ftrace: Add kprobe profile testcase")
>>>> added a new kprobes testcase, but has a description which does not
>>>> describe what the test case is doing and is duplicating the desription
> 
> Typo - I can fix it when I apply. checkpatch.pl does it for you btw.
> 
>>>> of another test case.
>>>> Therefore change the test case description, so it is unique and then
>>>> allows easily to tell which test case actually passed or failed.
>>>
>>> Good catch!
>>>
>>> This looks good to me.
>>>
>>> Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
>>>
>>
>> Shuah,
>>
>> Care to take this through your tree?
>>
> 
> Yes. I can queue this up.
> 

Heiko,

Applied now to linux-kselftest next. Run get_maintainers.pl and include
linux-kselftest on your future patches.

thanks,
-- Shuah

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-30 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 12:25 [PATCH] selftests/ftrace: make kprobe profile testcase description unique Heiko Carstens
2021-11-30 14:11 ` Masami Hiramatsu
2021-11-30 16:01   ` Steven Rostedt
2021-11-30 16:21     ` Shuah Khan
2021-11-30 16:39       ` Shuah Khan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.