ftrace_get_addr_curr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ftrace_get_addr_curr(9) πŸ’…

okay so bestie, this is from the Kernel API Manual, section 9, and it’s all about grabbing the call address that’s already chilling there. no cap. πŸ’–


✨ NAME ✨

ftrace_get_addr_curr β€” get the call address that is already there ✨


πŸŽ€ SYNOPSIS πŸŽ€

unsigned long ftrace_get_addr_curr (struct dyn_ftrace *rec );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • rec β€” the ftrace record descriptor, aka the little descriptor bestie we’re working with 🫢

🌸 DESCRIPTION 🌸

FTRACE_FL_REGS_EN is set when the record already points to a function that saves all the regs. basically, the '_EN' version represents the current state of the function. slay, that’s the whole vibe. πŸ’…


🌈 RETURN 🌈

the address of the trampoline that is currently being called ✨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/trace/ftrace.c is also in the group chat, and these iconique references are right there with it:


and that’s the page, bestie 🫢 source/version: ./kernel/trace β€” date: October 2026 β€” page: ftrace_get_addr_curr(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from