disable_fprobe(9)
π 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
- 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