get_dwarf_regstr(9)
π 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, theEM_*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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms