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