Linux Perf
dwarf-regs-table.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifdef DEFINE_DWARF_REGSTR_TABLE
3 /* This is included in perf/util/dwarf-regs.c */
4 
5 static const char * const x86_32_regstr_tbl[] = {
6  "%ax", "%cx", "%dx", "%bx", "$stack",/* Stack address instead of %sp */
7  "%bp", "%si", "%di",
8 };
9 
10 static const char * const x86_64_regstr_tbl[] = {
11  "%ax", "%dx", "%cx", "%bx", "%si", "%di",
12  "%bp", "%sp", "%r8", "%r9", "%r10", "%r11",
13  "%r12", "%r13", "%r14", "%r15",
14 };
15 #endif