t_show_triggers(9)
π NAME π
okay so bestie, this is t_show_triggers(9) from the Kernel API Manual β¨ β it's the seq_file callback that displays active event triggers. That's the whole assignment, no cap π
π¦ SYNOPSIS π¦
int t_show_triggers (struct seq_file *m , void *v );
π ARGUMENTS π
mβ theseq_fileinterface for formatted output, aka the spot where the formatted text goes πvβ the currenttrace_event_filebeing iterated, like the event file currently in the hot seat π₯
πΈ DESCRIPTION πΈ
So it iterates through the trigger list of the current event file and prints each active trigger's configuration using its associated print operation. That's it, that's the vibe: loop over the triggers, show the config for every active one, and let the associated print operation handle the printing. Periodt π«Ά
π SEE ALSO π
The kernel file in question is ./kernel/trace/trace_events.c, and these are the bestie refs you might wanna peek at π:
trace_event_buffer_reserve(9)trace_set_clr_event(9)trace_array_set_clr_event(9)t_show_filters(9)ftrace_event_show_filters_open(9)ftrace_event_show_triggers_open(9)trace_get_event_file(9)trace_put_event_file(9)event_trace_add_tracer(9)early_enable_events(9)
cute little sign-off: this page is from ./kernel/trace, dated October 2026 β mwah, slay, bye bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms