get_dwarf_regstr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– get_dwarf_regstr(9) πŸ’–

okay so this page is straight out of the Kernel API Manual, and it's lowkey a little legend. bestie, it's giving "one function, zero drama" ✨


✨ NAME ✨

get_dwarf_regstr β€” Returns ftrace register string from DWARF regnum. periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the exact signature, no cap β€” don't @ me:

const char * get_dwarf_regstr (unsigned int n , unsigned int machine ,
       unsigned int flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • n β€” DWARF register number. that's the regnum bestie 🫢
  • machine β€” ELF machine signature (EM_*). yes, the EM_* vibe 🌸
  • flags β€” ELF flags for things like ABI differences. ABI girlies rise 😭

🌈 SEE ALSO 🌈

  • Kernel file ./tools/perf/util/include/dwarf-regs.h β€” that's the one, bestie πŸ‘‘πŸ¦‹

that's the whole page, and honestly? iconic. this gem is served from ./tools/perf/util/include, dated October 2026 β€” slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from