blob: e18fd052039142542bf96e40d141be803d799eb8 [file] [log] [blame]
Christopher Ferrisba8d4f42014-09-03 19:56:49 -07001/****************************************************************************
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_ARM64_PERF_REGS_H
20#define _ASM_ARM64_PERF_REGS_H
21enum perf_event_arm_regs {
Tao Baod7db5942015-01-28 10:07:51 -080022 PERF_REG_ARM64_X0,
Tao Baod7db5942015-01-28 10:07:51 -080023 PERF_REG_ARM64_X1,
24 PERF_REG_ARM64_X2,
25 PERF_REG_ARM64_X3,
26 PERF_REG_ARM64_X4,
Tao Baod7db5942015-01-28 10:07:51 -080027 PERF_REG_ARM64_X5,
28 PERF_REG_ARM64_X6,
29 PERF_REG_ARM64_X7,
30 PERF_REG_ARM64_X8,
Tao Baod7db5942015-01-28 10:07:51 -080031 PERF_REG_ARM64_X9,
32 PERF_REG_ARM64_X10,
33 PERF_REG_ARM64_X11,
34 PERF_REG_ARM64_X12,
Tao Baod7db5942015-01-28 10:07:51 -080035 PERF_REG_ARM64_X13,
36 PERF_REG_ARM64_X14,
37 PERF_REG_ARM64_X15,
38 PERF_REG_ARM64_X16,
Tao Baod7db5942015-01-28 10:07:51 -080039 PERF_REG_ARM64_X17,
40 PERF_REG_ARM64_X18,
41 PERF_REG_ARM64_X19,
42 PERF_REG_ARM64_X20,
Tao Baod7db5942015-01-28 10:07:51 -080043 PERF_REG_ARM64_X21,
44 PERF_REG_ARM64_X22,
45 PERF_REG_ARM64_X23,
46 PERF_REG_ARM64_X24,
Tao Baod7db5942015-01-28 10:07:51 -080047 PERF_REG_ARM64_X25,
48 PERF_REG_ARM64_X26,
49 PERF_REG_ARM64_X27,
50 PERF_REG_ARM64_X28,
Tao Baod7db5942015-01-28 10:07:51 -080051 PERF_REG_ARM64_X29,
52 PERF_REG_ARM64_LR,
53 PERF_REG_ARM64_SP,
54 PERF_REG_ARM64_PC,
Tao Baod7db5942015-01-28 10:07:51 -080055 PERF_REG_ARM64_MAX,
Christopher Ferris6cd53a52022-12-12 23:39:16 +000056 PERF_REG_ARM64_VG = 46,
57 PERF_REG_ARM64_EXTENDED_MAX
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070058};
Christopher Ferris6cd53a52022-12-12 23:39:16 +000059#define PERF_REG_EXTENDED_MASK (1ULL << PERF_REG_ARM64_VG)
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070060#endif