diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-08-18 19:43:16 +0900 |
---|---|---|
committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-09-25 23:23:44 +0900 |
commit | 67e9a9ee476e862fda27803bdce888c04e4b3380 (patch) | |
tree | c9f74298377acc14853c594e52fd7480c264e2e6 /tools | |
parent | d4df54f338e43c790460674a3cc7db35b8395421 (diff) | |
download | lwn-67e9a9ee476e862fda27803bdce888c04e4b3380.tar.gz lwn-67e9a9ee476e862fda27803bdce888c04e4b3380.zip |
tracing/fprobe: Support raw tracepoint events on modules
Support raw tracepoint event on module by fprobe events.
Since it only uses for_each_kernel_tracepoint() to find a tracepoint,
the tracepoints on modules are not handled. Thus if user specified a
tracepoint on a module, it shows an error.
This adds new for_each_module_tracepoint() API to tracepoint subsystem,
and uses it to find tracepoints on modules.
Link: https://lore.kernel.org/all/172397779651.286558.15903703620679186867.stgit@devnote2/
Reported-by: don <zds100@gmail.com>
Closes: https://lore.kernel.org/all/20240530215718.aeec973a1d0bf058d39cb1e3@kernel.org/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions