diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-09-08 08:22:21 +0200 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-15 18:23:35 -0400 |
| commit | 084100a1b579e6e08085dfc33caa4df31bb25696 (patch) | |
| tree | 212d2235c6ea320666264a02f627625dcf1b195a /include | |
| parent | d30778dee467f2a54759f90b29019f5aec69abd3 (diff) | |
| download | linux-084100a1b579e6e08085dfc33caa4df31bb25696.tar.gz linux-084100a1b579e6e08085dfc33caa4df31bb25696.zip | |
tracing: Parse filter from boot event string
Make it possible to specify a trace event filter from the
kernel command line.
Example:
trace_event=syscalls:sys_enter_clock_nanosleep:filter:which_clock==0
Link: https://patch.msgid.link/20260908-tracing-cli-event-filter-v2-7-05396a3fb663@linutronix.de
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/trace_events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 8a396ae51fef..321f2f3a6c8e 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -883,7 +883,7 @@ extern int trace_add_event_call(struct trace_event_call *call); extern int trace_remove_event_call(struct trace_event_call *call); extern int trace_event_get_offsets(struct trace_event_call *call); -int ftrace_set_clr_event(struct trace_array *tr, const char *buf, int set); +int ftrace_set_clr_event(struct trace_array *tr, const char *buf, int set, bool handle_filter); int trace_set_clr_event(const char *system, const char *event, int set); int trace_array_set_clr_event(struct trace_array *tr, const char *system, const char *event, bool enable); |
