tracepoint_probe_unregister(9)
π tracepoint_probe_unregister (kernel API manual, section 9) β¨
okay bestie, so this is a page from the Kernel API Manual β section 9, iykyk β and it's all about unhooking a probe from a tracepoint. literally the breakup arc of kernel tracing π«Ά
πΈ NAME πΈ
tracepoint_probe_unregister β disconnect a probe from a tracepoint βοΈπ
π¦ SYNOPSIS π¦
int tracepoint_probe_unregister (struct tracepoint *tp , void *probe ,
void *data );
like, that's the whole signature. three args, one int coming back. no cap. β¨
π ARGUMENTS π
tpβ the tracepoint itself, astruct tracepoint *. this is the main character of the operation πprobeβ the probe function pointer. the one you're breaking up with πdataβ the tracepoint data. comes along for the ride, as it does π
π DESCRIPTION π
okay so here's the vibe: it returns 0 if everything's ok, and an error value on error. that's it, that's the whole description, and honestly? iconic minimalism. periodt. π₯
ngl bestie, always check that return value β 0 means slay, anything else means something went sideways and you will be looking at an error value. π
π SEE ALSO π
- Kernel file
./kernel/tracepoint.cβ the source, go read it, it's giving lore π tracepoint_probe_register_prio_may_exist(9)tracepoint_probe_register_prio(9)tracepoint_probe_register(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)
like yes, that's the registry side, the notifier side, and every for_each variant you could possibly want. a whole friend group of tracepoint functions fr fr. π
and that's the page!! source/version is ./kernel, dated October 2026 β mwah, drink water, and don't leak your probes ππβ¨
π¦ 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