disable_fprobe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… disable_fprobe(9) β€” the Kernel API Manual, bestie edition

okay so real talk, this one's from the Kernel API Manual, page disable_fprobe(9), and it's short but she MATTERS. Let's get into it πŸŽ€


✨ NAME ✨

disable_fprobe β€” she disables an fprobe. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

void disable_fprobe (struct fprobe *fp );

like literally that's it. void return, no drama, no return value to check. she just does the thing. πŸ¦‹


✨ ARGUMENTS ✨

  • fp β€” the fprobe that's getting disabled. yeah. that one. the fprobe in question. πŸ™ˆ

✨ DESCRIPTION ✨

okay so here's the tea β˜• β€” disable_fprobe will soft-disable fp. Soft. Not full send, not a whole teardown, just a soft disable, bestie. 🫢

and here's the part you CANNOT skip, i'm serious:

this does not remove the ftrace hooks from the function entry. like, at all. the hooks stay. they're still there. do not come for me about the hooks, because the hooks are none of this function's business πŸ’€

so if your brain went "oh, disabled, so everything's cleaned up 🧹✨" β€” no ma'am. that's a whole different situation and not this one. the ftrace hooks are living their best life at the function entry regardless. iconic of them honestly. πŸ‘‘


✨ SEE ALSO ✨

go read these, they're the friend group πŸ‘―β€β™€οΈ:

  • Kernel file ./include/linux/fprobe.h
  • struct fprobe_hlist_node(9)
  • struct fprobe_hlist(9)
  • struct fprobe(9)
  • enable_fprobe(9)

(enable_fprobe(9) is literally her opposite number, so like. obviously. go say hi 🌸)


πŸŽ€ the sign-off πŸŽ€

this lil page lives in ./include/linux, and it's dated October 2026 β€” so yeah, she's timestamped and official and everything. go forth, soft-disable responsibly, and don't touch those ftrace hooks. periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from