diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-03-03 17:05:34 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-03-11 11:49:24 -0500 |
commit | 3a73333fb370f7b65de9d94c53df503642bda789 (patch) | |
tree | c3bafc1a059c00507daabd3ba27ea4c3c3a92bd9 /scripts/bpf_doc.py | |
parent | af6b9668e85ffd1502aada8036ccbf4dbd481708 (diff) |
tracing: Add TRACE_CUSTOM_EVENT() macro
To make it really easy to add custom events from modules, add a
TRACE_CUSTOM_EVENT() macro that acts just like the TRACE_EVENT() macro,
but creates a custom event to an already existing tracepoint.
The trace_custom_sched.[ch] has been updated to use this new macro to show
how simple it is.
Link: https://lkml.kernel.org/r/[email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Joel Fernandes <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Tom Zanussi <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions