tracepoint_probe_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, a struct 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 πŸ‘‘

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