summaryrefslogtreecommitdiff
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorAaron Tomlin <atomlin@atomlin.com>2026-01-05 09:29:39 -0500
committerSteven Rostedt (Google) <rostedt@goodmis.org>2026-01-26 17:44:24 -0500
commit6a80838814eea232a83fab3ac33282cd1243da5b (patch)
tree879fb9049d554fdcf6594f910c2d2f96dc68d063 /kernel/trace/ring_buffer.c
parent729757b96a662d87e334fe8b837707800d8fd551 (diff)
tracing: Add show_event_triggers to expose active event triggers
To audit active event triggers, userspace currently must traverse the events/ directory and read each individual trigger file. This is cumbersome for system-wide auditing or debugging. Introduce "show_event_triggers" at the trace root directory. This file displays all events that currently have one or more triggers applied, alongside the trigger configuration, in a consolidated system:event [tab] trigger format. The implementation leverages the existing trace_event_file iterators and uses the trigger's own print() operation to ensure output consistency with the per-event trigger files. Link: https://patch.msgid.link/20260105142939.2655342-3-atomlin@atomlin.com Signed-off-by: Aaron Tomlin <atomlin@atomlin.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions