• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_LOONGARCH_PERF_REGS_H
20 #define _ASM_LOONGARCH_PERF_REGS_H
21 
22 enum perf_event_loongarch_regs {
23 	PERF_REG_LOONGARCH_PC,
24 	PERF_REG_LOONGARCH_R1,
25 	PERF_REG_LOONGARCH_R2,
26 	PERF_REG_LOONGARCH_R3,
27 	PERF_REG_LOONGARCH_R4,
28 	PERF_REG_LOONGARCH_R5,
29 	PERF_REG_LOONGARCH_R6,
30 	PERF_REG_LOONGARCH_R7,
31 	PERF_REG_LOONGARCH_R8,
32 	PERF_REG_LOONGARCH_R9,
33 	PERF_REG_LOONGARCH_R10,
34 	PERF_REG_LOONGARCH_R11,
35 	PERF_REG_LOONGARCH_R12,
36 	PERF_REG_LOONGARCH_R13,
37 	PERF_REG_LOONGARCH_R14,
38 	PERF_REG_LOONGARCH_R15,
39 	PERF_REG_LOONGARCH_R16,
40 	PERF_REG_LOONGARCH_R17,
41 	PERF_REG_LOONGARCH_R18,
42 	PERF_REG_LOONGARCH_R19,
43 	PERF_REG_LOONGARCH_R20,
44 	PERF_REG_LOONGARCH_R21,
45 	PERF_REG_LOONGARCH_R22,
46 	PERF_REG_LOONGARCH_R23,
47 	PERF_REG_LOONGARCH_R24,
48 	PERF_REG_LOONGARCH_R25,
49 	PERF_REG_LOONGARCH_R26,
50 	PERF_REG_LOONGARCH_R27,
51 	PERF_REG_LOONGARCH_R28,
52 	PERF_REG_LOONGARCH_R29,
53 	PERF_REG_LOONGARCH_R30,
54 	PERF_REG_LOONGARCH_R31,
55 	PERF_REG_LOONGARCH_MAX,
56 };
57 #endif /* _ASM_LOONGARCH_PERF_REGS_H */
58