event_triggers_post_call(9)
π
event_triggers_post_call β Kernel API Manual
okay so bestie, we're in the Kernel API Manual today and this one is genuinely a little baddie β¨ It's called event_triggers_post_call, and its whole personality is: Call 'post_triggers' for a trace event. That's the NAME, that's the vibe, no notes π
πΈ SYNOPSIS πΈ
void event_triggers_post_call (struct trace_event_file *file , enum
event_trigger_type tt );
like literally that's it, that's the whole signature, she's not complicated π
π¦ ARGUMENTS π¦
fileβ thetrace_event_filethat's associated with the event. she's the one holding the vibes together, iykyk π«Άttβ anenum event_trigger_typewhere each trigger you wanna invoke has its bit set. one bit per trigger, very demure, very mindful β
β¨ DESCRIPTION β¨
so here's the tea β for each trigger associated with an event, this function goes and invokes the trigger function that was registered with the associated trigger command β but only if the corresponding bit is set in the tt enum you passed in π₯ Like, if the bit's not set, that trigger simply does not get an invite to the function call, periodt π
if you're wondering how those bits actually get set in the first place, peek at event_triggers_call β it has the details on that π
Also important, bestie: this gets called from tracepoint handlers, with rcu_read_lock_sched held. so like, keep that in mind, that's the context you're working in π§
π SEE ALSO π
Kernel file ./kernel/trace/trace_events_trigger.c β the source, the mothership, the main character π
and the whole friend group of related calls:
event_triggers_call(9)event_trigger_count(9)event_trigger_print(9)event_trigger_init(9)event_trigger_free(9)clear_event_triggers(9)update_cond_flag(9)register_trigger(9)unregister_trigger(9)event_trigger_check_remove(9)event_trigger_empty_param(9)event_trigger_separate_filter(9)trigger_data_alloc(9)event_trigger_parse_num(9)event_trigger_set_filter(9)event_trigger_reset_filter(9)event_trigger_register(9)event_trigger_unregister(9)event_trigger_parse(9)set_trigger_filter(9)find_named_trigger(9)is_named_trigger(9)save_named_trigger(9)del_named_trigger(9)pause_named_trigger(9)unpause_named_trigger(9)set_named_trigger_data(9)
ngl the whole trigger squad showed up for this one π every single one of them is listed, we don't gatekeep here π
okay that's the page!! big slay, you understood it, I'm so proud π₯Ή This came to you from ./kernel/trace, dated October 2026, and the page itself is event_triggers_post_call(9) β go forth and trigger your events responsibly, 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