event_trigger_check_remove(9)
β¨ event_trigger_check_remove β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil function called event_trigger_check_remove(9) and honestly? it's giving "tiny little vibe check in the middle of the trace subsystem" π
πΈ NAME πΈ
event_trigger_check_remove β literally just checks whether an event trigger specifies remove π
β¨ SYNOPSIS β¨
bool event_trigger_check_remove (const char *glob );
π«Ά ARGUMENTS π«Ά
globβ the trigger command string, and it may or may not have the optionalremove(!)operator on it π¦
π DESCRIPTION π
so the event trigger callback implementations pass in glob as a parameter β that's the whole bit π
glob is the command name, either with or without a remove(!) operator. no biggie either way, she handles both πββοΈ
and what does the function do with it? it simply parses the glob and figures out whether the command corresponds to a trigger removal or a trigger addition π₯ that's the entire job. main character energy, minimal effort, zero drama β¨
π RETURN π
trueif this is a remove command πfalseotherwise π
π¦ SEE ALSO π¦
the kernel file that started it all π:
./kernel/trace/trace_events_trigger.c
and the whole friend group π«Ά:
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_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 if you read all of those you're a real one π no cap, that's the whole squad right there π
okay that's the whole page bestie, ily, go parse some globs π this cutie came from ./kernel/trace and it's dated October 2026 β that's the source/version + date sign-off, 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