register_ftrace_function(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is the Kernel API Manual page register_ftrace_function(9), and it’s about register_ftrace_function β€” registering a function for profiling. πŸ’–

πŸ“œ SYNOPSIS πŸ“œ

int register_ftrace_function (struct ftrace_ops *ops );

🌸 ARGUMENTS 🌸

  • ops β€” the ops structure that holds the function for profiling. Like, it’s the container carrying your profiling function, bestie. 🫢

✨ DESCRIPTION ✨

Register a function to be called by all functions in the kernel. Literally all of them. It’s giving β€œmy function knows everybody” energy. πŸ‘‘

🚨 NOTE 🚨

ops->func and all the functions it calls must be labeled with "notrace", otherwise it will go into a recursive loop. πŸ’€ No cap, that recursive loop is not the vibe β€” label it "notrace". Periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./kernel/trace/ftrace.c β€” here’s the whole reference squad, bestie:


Mwah πŸ’– this page comes from source/version ./kernel/trace, dated October 2026, and it’s the register_ftrace_function(9) page. Bye bestie, go label your functions! 🌈✨

πŸ“¦ where this page comes from