Skip to contentSkip to conversation

selftests/ftrace: make kprobe profile testcase description unique

PATCH In review Heiko Carstens 4 participants 5 messages Nov 30, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/ftrace: make kprobe profile testcase description unique

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.

---
 tools/testing/selftests/ftrace/test.d/kprobe/profile.tc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/ftrace/test.d/kprobe/profile.tc +1 -1
index 98166fa3eb91..34fb89b0c61f 100644
@@ -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
Signature · 1 line
2.32.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Tue, 30 Nov 2021 13:25:46 +0100 Heiko Carstens <[email protected]> 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.

Thank you,

Quoted 22 lines
---
 tools/testing/selftests/ftrace/test.d/kprobe/profile.tc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/ftrace/test.d/kprobe/profile.tc +1 -1
index 98166fa3eb91..34fb89b0c61f 100644
@@ -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
Signature · 1 line
2.32.0
Signature · 1 line
Masami Hiramatsu <[email protected]>
maintainer
#2 lore raw
Quoted 10 lines · On Tue, 30 Nov 2021 23:11:30 +0900 Masami Hiramatsu <[email protected]> wrote:
Quoted 6 lines · On Tue, 30 Nov 2021 13:25:46 +0100 Heiko Carstens <[email protected]> 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.

Quoted 6 lines

Good catch!

This looks good to me.

Shuah,

Care to take this through your tree?

Thanks!

-- Steve

maintainer
#3 lore raw
Quoted 9 lines · Steven Rostedt
Quoted 6 lines · On Tue, 30 Nov 2021 23:11:30 +0900 Masami Hiramatsu <[email protected]> wrote:
Quoted 3 lines · On Tue, 30 Nov 2021 13:25:46 +0100 Heiko Carstens <[email protected]> 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.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

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!

Quoted 9 lines
Quoted 4 lines

This looks good to me.

Shuah,

Care to take this through your tree?

Yes. I can queue this up.

thanks,
-- Shuah

maintainer
#4 lore raw
Quoted 24 lines · Shuah Khan
Quoted 9 lines · Steven Rostedt
Quoted 6 lines · On Tue, 30 Nov 2021 23:11:30 +0900 Masami Hiramatsu <[email protected]> wrote:
Quoted 3 lines · On Tue, 30 Nov 2021 13:25:46 +0100 Heiko Carstens <[email protected]> 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.

Quoted 11 lines
Quoted 10 lines
Quoted 3 lines

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.

Quoted 7 lines
Quoted 4 lines

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