diff options
| author | Namhyung Kim <[email protected]> | 2023-12-13 00:13:08 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-12-23 13:56:05 +0000 |
| commit | 3eee606757ad82f32332a2da174aa032bfd9cc32 (patch) | |
| tree | 3ad104f8344efc65a88c8e2debc06d14fc0ad849 /tools/perf/util/annotate.h | |
| parent | perf dwarf-aux: Factor out die_get_typename_from_type() (diff) | |
| download | kernel-3eee606757ad82f32332a2da174aa032bfd9cc32.tar.gz kernel-3eee606757ad82f32332a2da174aa032bfd9cc32.zip | |
perf dwarf-regs: Add get_dwarf_regnum()
The get_dwarf_regnum() returns a DWARF register number from a register
name string according to the psABI. Also add two pseudo encodings of
DWARF_REG_PC which is a register that are used by PC-relative addressing
and DWARF_REG_FB which is a frame base register. They need to be
handled in a special way.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions
