tracepoint_p...io_may_exist(9)
π« NAME π«
tracepoint_probe_register_prio_may_exist β ok so this one hooks a probe up to a tracepoint, but likeβ¦ with a priority. And it's the chill version that does not warn you if the tracepoint is already registered. Bestie behaviour fr fr π«Ά
(this lives in the Kernel API Manual, section 9, iykyk β¨)
πΈ SYNOPSIS πΈ
int tracepoint_probe_register_prio_may_exist (struct tracepoint *tp ,
void *probe , void *data , int prio );
π ARGUMENTS π
tpβ the tracepoint itself, the main character of this whole situation πprobeβ the probe handler, aka the function that actually does the thingdataβ the tracepoint data, just vibes and payload πprioβ the priority of this function over the other registered functions, so likeβ¦ who goes first π
π¦ DESCRIPTION π¦
Literally the same as tracepoint_probe_register_prio, no cap β the only glow-up here is that it will not warn if the tracepoint is already registered. That's it. That's the whole personality. π
So yes, it's the same deal as tracepoint_probe_register_prio in every other way. Don't go expecting extra magic, bestie π
β SEE ALSO β
Kernel file ./kernel/tracepoint.c β go read it, it's giving source of truth π
tracepoint_probe_register_prio(9)tracepoint_probe_register(9)tracepoint_probe_unregister(9)register_tracepoint_module_notifier(9)unregister_tracepoint_module_notifier(9)for_each_tracepoint_in_module(9)for_each_module_tracepoint(9)for_each_kernel_tracepoint(9)
ok that's the whole page, you ate that π§π this cutie is from ./kernel, version October 2026, and the page name is tracepoint_p...io_may_exist(9) in case you forgot already β go register some probes, slay β¨π₯
π¦ 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