]> Gentwo Git Trees - linux/.git/commit
selftests: tracing: Add tprobe enable/disable testcase
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 7 Nov 2025 14:35:01 +0000 (23:35 +0900)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 19 Nov 2025 22:55:08 +0000 (15:55 -0700)
commita1ca238936aee3898216f6f7b2f91771aa858504
tree827440604fb6e7290b4b678592c1ac488ce6de41
parentd9e6269e330392fd75f8d9db268e7e10541a7ba4
selftests: tracing: Add tprobe enable/disable testcase

Commit 2867495dea86 ("tracing: tprobe-events: Register tracepoint when
enable tprobe event") caused regression bug and tprobe did not work.
To prevent similar problems, add a testcase which enables/disables a
tprobe and check the results.

Link: https://lore.kernel.org/r/176252610176.214996.3978515319000806265.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/dynevent/enable_disable_tprobe.tc [new file with mode: 0644]