event_trigger_parse_num(9)
β¨ event_trigger_parse_num(9) β¨
okay so bestie, welcome to the Kernel API Manual π
β this is the page for event_trigger_parse_num, and honestly it's a little cutie that does exactly one thing and does it slayfully.
π NAME π
event_trigger_parse_num β parses and returns the number param for a trigger, periodt π
π¦ SYNOPSIS π¦
int event_trigger_parse_num (char *param , struct event_trigger_data *trigger_data );
like, that's the whole vibe check. int in, int out π«Ά
πΈ ARGUMENTS πΈ
paramβ The param string π literally just the string you're handing overtrigger_dataβ The trigger_data for the trigger π the struct that's about to get a lil update
β DESCRIPTION β
okay so here's the tea π₯ this function parses the :n param β and heads up, n = the number of times the trigger should fire, iykyk β and then it sets the count variable inside the trigger_data to that parsed count. that's it. that's the whole main character arc π
β¨
π RETURN π
0on success π₯³errnootherwise π (yeah, it hands you back an errno, not a cute lil bool, ngl)
π SEE ALSO π
the source lives in the Kernel file ./kernel/trace/trace_events_trigger.c β go read it, it's giving homework but make it iconic ππ
and here's the whole friend group, no cap, every single one:
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_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)
ok that's the whole page bestie, go parse some numbers and be gorgeous about it π
and finally, the sign-off π this one comes from ./kernel/trace, dated October 2026, and it's filed under event_trigger_parse_num(9) β mwah, slay, bye! π
πΈπ¦
π¦ 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