event_trigger_parse(9)
π event_trigger_parse(9) β like, the Kernel API Manual one π
okay so bestie, welcome to the group chat for event_trigger_parse(9) β¨ this is the page for the generic event_command @parse implementation, and honestly? it's kind of the main character of trigger parsing π«Ά
β¨ NAME β¨
event_trigger_parse β the Generic event_command @parse implementation πΈ
π¦ SYNOPSIS π¦
int event_trigger_parse (struct event_command *cmd_ops , struct
trace_event_file *file , char *glob , char *cmd , char *param_and_filter
);
no cap, that's the whole signature. look at her π
π ARGUMENTS π
cmd_opsβ the command ops, and she's the one who handles the trigger registration πfileβ thetrace_event_filethat's hanging out with this event π¦globβ the raw string you used to register the trigger, straight up, unfiltered, literally πcmdβ thecmdportion of the string used to register the trigger βparam_and_filterβ the param and filter portion of the string used to register the trigger; yes bestie, both of them, together, iconic π
π DESCRIPTION π
this is the common implementation for event command parsing and trigger instantiation β¨ it's the shared, reusable version β the one everybody borrows π
usually it gets used directly as the parse method in event command implementations. like, no wrapper, no middleman, she's just built for it π
π₯ RETURN π₯
0 on success, errno otherwise β that's it, that's the vibe check β
lowkey reminder: non-zero means something went sideways, and the value is an errno code π«Ά
π SEE ALSO π
kernel file ./kernel/trace/trace_events_trigger.c β go read it, it's giving source-code realness π
and then the whole friend group, fr fr:
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)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)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 squad showed up πΈπ
alright bestie, that's the page β brought to you from ./kernel/trace, dated October 2026, and yeah, it's event_trigger_parse(9) all the way down ππ
β¨ mwah! π«Ά
π¦ 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