ftrace_location(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ftrace_location(9) β€” a Kernel API Manual moment πŸ’…

okay bestie, welcome to the ftrace_location(9) page, straight out of the Kernel API Manual ✨ this one's short and sweet and honestly kind of iconic for it πŸŽ€


πŸ’– NAME πŸ’–

ftrace_location β€” returns the ftrace location, that's literally the whole job, no cap 🫢


✨ SYNOPSIS ✨

unsigned long ftrace_location (unsigned long ip );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ip β€” bestie, this is the instruction pointer you want checked πŸ‘€ that's the one and only thing you hand over.

⭐ RETURN ⭐

so here's the vibe check on what you get back πŸ’«

  • If ip matches the ftrace location, you get ip right back. matching, slay πŸ’…
  • If ip matches sym+0, you get sym's ftrace location. we love a glow-up 🧚
  • Otherwise? you get 0. nothing. zero. a little heartbreaking honestly 😭

🌈 SEE ALSO 🌈

the whole friend group πŸ’œ β€” Kernel file ./kernel/trace/ftrace.c, plus:


🫢 that's the whole page, bestie β€” go forth and trace responsibly ✨

and that's a wrap, babe πŸŽ€ this lil section lives in ./kernel/trace, dated October 2026, and it's ftrace_location(9) forever and always πŸ’– periodt 🌟

πŸ“¦ where this page comes from