]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: tracing: Enable fprobe events before checking enable_functions
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 31 Mar 2025 15:36:20 +0000 (00:36 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 2 Jul 2025 00:45:21 +0000 (09:45 +0900)
commit434f6703ce268470796496e67c703dfd85a3653c
tree4e6fef623a441f4995f93be14a6f58744b655989
parent2db832ec9090d3b5f726f49ad4d0322d6b68a490
selftests: tracing: Enable fprobe events before checking enable_functions

Since the fprobe is not registered before enabling the fprobe events,
enable_functions is also empty before enabling it. Thus the tests
which checking enable_functions must ensure the event is enabled before
testing the enable_functions.

Link: https://lore.kernel.org/all/174343538009.843280.6583146613234713007.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
tools/testing/selftests/ftrace/test.d/dynevent/add_remove_fprobe.tc