Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 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 { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 22 | PERF_REG_X86_AX, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 23 | PERF_REG_X86_BX, |
| 24 | PERF_REG_X86_CX, |
| 25 | PERF_REG_X86_DX, |
| 26 | PERF_REG_X86_SI, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 27 | PERF_REG_X86_DI, |
| 28 | PERF_REG_X86_BP, |
| 29 | PERF_REG_X86_SP, |
| 30 | PERF_REG_X86_IP, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 31 | PERF_REG_X86_FLAGS, |
| 32 | PERF_REG_X86_CS, |
| 33 | PERF_REG_X86_SS, |
| 34 | PERF_REG_X86_DS, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 35 | PERF_REG_X86_ES, |
| 36 | PERF_REG_X86_FS, |
| 37 | PERF_REG_X86_GS, |
| 38 | PERF_REG_X86_R8, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 39 | PERF_REG_X86_R9, |
| 40 | PERF_REG_X86_R10, |
| 41 | PERF_REG_X86_R11, |
| 42 | PERF_REG_X86_R12, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 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, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 47 | PERF_REG_X86_64_MAX = PERF_REG_X86_R15 + 1, |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 48 | }; |
| 49 | #endif |