blob: 984b7ea9dd6bd19ce6e1603c881d57f8928ba74e [file] [log] [blame]
Elliott Hughesabd62612013-11-08 11:45:48 -08001/****************************************************************************
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
21enum perf_event_x86_regs {
Tao Baod7db5942015-01-28 10:07:51 -080022 PERF_REG_X86_AX,
Tao Baod7db5942015-01-28 10:07:51 -080023 PERF_REG_X86_BX,
24 PERF_REG_X86_CX,
25 PERF_REG_X86_DX,
26 PERF_REG_X86_SI,
Tao Baod7db5942015-01-28 10:07:51 -080027 PERF_REG_X86_DI,
28 PERF_REG_X86_BP,
29 PERF_REG_X86_SP,
30 PERF_REG_X86_IP,
Tao Baod7db5942015-01-28 10:07:51 -080031 PERF_REG_X86_FLAGS,
32 PERF_REG_X86_CS,
33 PERF_REG_X86_SS,
34 PERF_REG_X86_DS,
Tao Baod7db5942015-01-28 10:07:51 -080035 PERF_REG_X86_ES,
36 PERF_REG_X86_FS,
37 PERF_REG_X86_GS,
38 PERF_REG_X86_R8,
Tao Baod7db5942015-01-28 10:07:51 -080039 PERF_REG_X86_R9,
40 PERF_REG_X86_R10,
41 PERF_REG_X86_R11,
42 PERF_REG_X86_R12,
Tao Baod7db5942015-01-28 10:07:51 -080043 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,
Tao Baod7db5942015-01-28 10:07:51 -080047 PERF_REG_X86_64_MAX = PERF_REG_X86_R15 + 1,
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070048 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,
Elliott Hughesabd62612013-11-08 11:45:48 -080065};
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070066#define PERF_REG_EXTENDED_MASK (~((1ULL << PERF_REG_X86_XMM0) - 1))
Elliott Hughesabd62612013-11-08 11:45:48 -080067#endif