]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - tools/perf/arch/x86/include/dwarf-regs-table.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / tools / perf / arch / x86 / include / dwarf-regs-table.h
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