1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _ASM_X86_PERF_REGS_H
20 #define _ASM_X86_PERF_REGS_H
21 enum perf_event_x86_regs {
22   PERF_REG_X86_AX,
23   PERF_REG_X86_BX,
24   PERF_REG_X86_CX,
25   PERF_REG_X86_DX,
26   PERF_REG_X86_SI,
27   PERF_REG_X86_DI,
28   PERF_REG_X86_BP,
29   PERF_REG_X86_SP,
30   PERF_REG_X86_IP,
31   PERF_REG_X86_FLAGS,
32   PERF_REG_X86_CS,
33   PERF_REG_X86_SS,
34   PERF_REG_X86_DS,
35   PERF_REG_X86_ES,
36   PERF_REG_X86_FS,
37   PERF_REG_X86_GS,
38   PERF_REG_X86_R8,
39   PERF_REG_X86_R9,
40   PERF_REG_X86_R10,
41   PERF_REG_X86_R11,
42   PERF_REG_X86_R12,
43   PERF_REG_X86_R13,
44   PERF_REG_X86_R14,
45   PERF_REG_X86_R15,
46   PERF_REG_X86_32_MAX = PERF_REG_X86_GS + 1,
47   PERF_REG_X86_64_MAX = PERF_REG_X86_R15 + 1,
48   PERF_REG_X86_XMM0 = 32,
49   PERF_REG_X86_XMM1 = 34,
50   PERF_REG_X86_XMM2 = 36,
51   PERF_REG_X86_XMM3 = 38,
52   PERF_REG_X86_XMM4 = 40,
53   PERF_REG_X86_XMM5 = 42,
54   PERF_REG_X86_XMM6 = 44,
55   PERF_REG_X86_XMM7 = 46,
56   PERF_REG_X86_XMM8 = 48,
57   PERF_REG_X86_XMM9 = 50,
58   PERF_REG_X86_XMM10 = 52,
59   PERF_REG_X86_XMM11 = 54,
60   PERF_REG_X86_XMM12 = 56,
61   PERF_REG_X86_XMM13 = 58,
62   PERF_REG_X86_XMM14 = 60,
63   PERF_REG_X86_XMM15 = 62,
64   PERF_REG_X86_XMM_MAX = PERF_REG_X86_XMM15 + 2,
65 };
66 #define PERF_REG_EXTENDED_MASK (~((1ULL << PERF_REG_X86_XMM0) - 1))
67 #endif
68