die_find_top_inlinefunc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

die_find_top_inlinefunc β€” search the top inlined function at given address. πŸ’«

okay so this is the Kernel API Manual page for die_find_top_inlinefunc(9), and it’s literally here to help you find the top inlined function at a given address, bestie. no cap. 🫢


✨ SYNOPSIS ✨

the signature, verbatim, because we do not play with code:

Dwarf_Die * die_find_top_inlinefunc (Dwarf_Die *sp_die , Dwarf_Addr addr
, Dwarf_Die *die_mem );

πŸŽ€ ARGUMENTS πŸŽ€

  • sp_die β€” a subprogram DIE which includes addr. that’s the starting point, bestie 🧚
  • addr β€” the target address. the one we’re hunting for πŸ”₯
  • die_mem β€” a buffer for the result DIE. it’s where the found DIE gets stored πŸ’–

πŸ’… DESCRIPTION πŸ’…

Search for an inlined function DIE which includes addr. if it finds one, it stores the DIE to die_mem and returns it. if it fails, it returns NULL. periodt. 😭

and here’s the key part, so listen up: even if several inlined functions are expanded recursively, this does not trace it down β€” it just returns the topmost one. it’s giving β€œtop of the stack only, we’re not doing the whole recursive scavenger hunt.” πŸ’€βœ¨

bestie PSA: NULL means it failed β€” not a vibe, just no match. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./tools/perf/util/dwarf-aux.c β€” and here’s the whole squad, no cap:


okay that’s the whole page, bestie 🫢 source/version spot: ./tools/perf/util Β· date: October 2026 Β· page: die_find_top_inlinefunc(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from