allocate_ftrace_func_mapper(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… allocate_ftrace_func_mapper(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is one of those little pages that's short, sweet, and does exactly one thing. and honestly? it ate. let's get into it 🫢


🌸 NAME

allocate_ftrace_func_mapper β€” literally just allocates you a brand new ftrace_func_mapper, no cap πŸ’–


πŸŽ€ SYNOPSIS

struct ftrace_func_mapper * allocate_ftrace_func_mapper (void );

like, that's it. that's the whole call. she's simple, she's iconic πŸ‘‘


πŸ¦‹ ARGUMENTS

  • void β€” no arguments. nothing. zero. empty. you don't pass her anything, she doesn't want anything πŸ’€ (genuinely the easiest arg list you'll ever read)

✨ RETURN

you get back a ftrace_func_mapper descriptor β€” and the whole point of that descriptor is that it can be used to map ips to data. that's the vibe check, that's the whole job 🌈


πŸ’œ SEE ALSO

and now the part where the manpage goes absolutely feral with cross-references 😭 β€” Kernel file ./kernel/trace/ftrace.c and like, every ftrace-adjacent function that exists:

like hello?? that's a whole friend group πŸ˜­πŸ’… but every single one of them is right there if you need her.


🧚 quick reminder: this page only allocates the mapper. if you're the one who allocated it, you're also the one who's gotta free_ftrace_func_mapper it later. main character energy comes with main character responsibilities, bestie πŸŽ€

and that's the whole page!! short, slay, useful. brought to you from the kernel file ./kernel/trace in the source tree, dated October 2026, and printed under the title allocate_ftrace_func_mapper(9) β€” mwah πŸ’‹β­

πŸ“¦ where this page comes from