diff options
author | Tom Zanussi <zanussi@kernel.org> | 2020-01-29 19:59:27 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-30 15:46:28 +0100 |
commit | 8dcc53ad956d2caf4c5c2dda196e6801b71a3154 (patch) | |
tree | f2e7e008fe1a5cd8c705748a00234d33416d439c /kernel/trace/trace_stack.c | |
parent | tracing: Add synthetic event command generation functions (diff) | |
download | linux-8dcc53ad956d2caf4c5c2dda196e6801b71a3154.tar.xz linux-8dcc53ad956d2caf4c5c2dda196e6801b71a3154.zip |
tracing: Add synth_event_trace() and related functions
Add an exported function named synth_event_trace(), allowing modules
or other kernel code to trace synthetic events.
Also added are several functions that allow the same functionality to
be broken out in a piecewise fashion, which are useful in situations
where tracing an event from a full array of values would be
cumbersome. Those functions are synth_event_trace_start/end() and
synth_event_add_(next)_val().
Link: http://lkml.kernel.org/r/7a84de5f1854acf4144b57efe835ca645afa764f.1580323897.git.zanussi@kernel.org
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions