unregister_trigger(9)
π unregister_trigger(9) β like, the *un*register one, bestie
okay so welcome to unregister_trigger(9), part of the Kernel API Manual lineup π (yes that's the manual name, we're fancy here). This is the page where we learn how to take things back out of the event trigger system. Un-register. Un-do. The breakup era of trigger land πβ¨
πΈ SYNOPSIS πΈ
void unregister_trigger (char *glob , struct event_trigger_data *test ,
struct trace_event_file *file );
like, three arguments, returns nothing (void), very low-maintenance of it honestly π«Ά
β¨ ARGUMENTS β¨
globβ the raw string you used to register the trigger in the first place. the original receipt, bestie π§Ύtestβ trigger-specific data used to find the trigger to remove. think of it as the vibe-check you run to confirm this is the one we're dropping πfileβ thetrace_event_fileassociated with the event. the event's home address, basically π
π DESCRIPTION π
Common implementation for event trigger unregistration. that's it, that's the job π«‘
Usually used directly as the unreg method in event command implementations. so it's not even a "call this yourself" situation β it's the standard-issue, plug-it-in piece that event commands reach for. iconic outsourcing, no cap π
fr fr the whole point is: this is the generic unregistration path. if you're writing an event command, you probably just use it as your unreg and move on with your life π¦
π¦ SEE ALSO π¦
Kernel file ./kernel/trace/trace_events_trigger.c β go read the source, it's giving main character energy π₯
event_triggers_call(9)event_triggers_post_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)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)
like, the whole friend group, honestly ππ
and that's a wrap bestie!! this page lives in ./kernel/trace and it's stamped October 2026 β mwah, slay, periodt π
ππ
π¦ 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