event_triggers_post_call(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the trace_event_file that's associated with the event. she's the one holding the vibes together, iykyk 🫢
  • tt β€” an enum event_trigger_type where 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:


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