ftrace_set_global_notrace(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌟 ftrace_set_global_notrace β€” the manual page, but make it bestie 🌟

Heyyy so this is the man page for ftrace_set_global_notrace from the Kernel API Manual. It's literally about telling the global tracers which functions to not trace. No cap. Let's get into it πŸ’…


πŸŽ€ NAME πŸŽ€

ftrace_set_global_notrace β€” set a function to not trace with global tracers. That's it. That's the whole name. Iconic.


✨ SYNOPSIS ✨

void ftrace_set_global_notrace(unsigned char *buf, int len, int reset);

The way this signature is just sitting there looking all official. Obsessed. πŸ¦‹


🫢 ARGUMENTS 🫢

Okay so here's the tea on the three arguments:

  • buf β€” the string that holds the function notrace text. Like, this is the actual text of the function you're telling the tracer to skip.
  • len β€” the length of the string. Yes bestie, you gotta tell it how long buf is. It's giving very "measure twice, cut once."
  • reset β€” non-zero to reset all filters before applying this filter. So if you set this to something non-zero, it wipes the slate clean first before adding your new filter. Highkey important.

πŸ’– DESCRIPTION πŸ’–

Notrace Filters denote which functions should not be enabled when tracing is enabled. Periodt. That's the whole vibe β€” they're the "do not disturb" list for your tracer.

And here's the little plot twist: if buf is NULL and reset is set, all functions will be enabled for tracing. Like, every single one. The tracer is back on its main character energy and nothing is blocked. So maybe don't do that unless you actually mean it? Just saying πŸ™ˆ


🌈 SEE ALSO 🌈

Okay so the reference squad is long and honestly every single one of them showed up to the group chat. No one got left on read:

Also the kernel file itself is literally at ./kernel/trace/ftrace.c β€” that's where all the magic lives. Iykyk πŸ”₯


And that's the whole page, bestie! This gem is from ./kernel/trace and it's dated October 2026. Slay, stay tracing, and remember: notrace filters are your friends πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from