linux/tools/perf/util/include
Dapeng Mi 1f2177e9e0 perf dwarf-regs: Add SIMD/eGPRs support for x86 DWARF registers
Enhance the x86-specific DWARF register handling by adding support for
SIMD and eGPRs registers.

This update is based on the "DWARF Register Number Mapping" table from
the "System V Application Binary Interface AMD64 Architecture Processor
Supplement" (version 1.0).

Modifications include:
- Updating the x86_64_regidx_table[] array to incorporate SIMD and eGPRs
  registers.
- Enhancing the __get_dwarf_regnum_for_perf_regnum_x86_64() function to
  retrieve the DWARF register index for eGPRs.

Since currently libdw doesn't support SIMD and APX eGPRs registers yet,
still keep the original return value for get_libdw_frame_nregs() helper.

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2026-09-14 15:35:05 -03:00
..
asm
linux
dwarf-regs.h perf dwarf-regs: Add SIMD/eGPRs support for x86 DWARF registers 2026-09-14 15:35:05 -03:00