diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-01-11 01:06:41 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-13 13:19:42 -0500 |
commit | 4d655281eb1bb59fad021c0f68afd033f8d0320d (patch) | |
tree | 30271b77b7cdb3c069b435d112f1095ebe64cc2e /kernel/trace/trace_events_hist.c | |
parent | 81a59555ff1593642824414267e1859024bd0162 (diff) |
tracing/boot Add kprobe event support
Add kprobe event support on event node to boot-time tracing.
If the group name of event is "kprobes", the boot-time tracing
defines new probe event according to "probes" values.
- ftrace.event.kprobes.EVENT.probes = PROBE[, PROBE2...]
Defines new kprobe event based on PROBEs. It is able to define
multiple probes on one event, but those must have same type of
arguments.
For example,
ftrace.events.kprobes.myevent {
probes = "vfs_read $arg1 $arg2";
enable;
}
This will add kprobes:myevent on vfs_read with the 1st and the 2nd
arguments.
Link: http://lkml.kernel.org/r/157867240104.17873.9712052065426433111.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_events_hist.c')
0 files changed, 0 insertions, 0 deletions