1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _ASM_LOONGARCH_PERF_REGS_H 3 #define _ASM_LOONGARCH_PERF_REGS_H 4 5 enum perf_event_loongarch_regs { 6 PERF_REG_LOONGARCH_PC, 7 PERF_REG_LOONGARCH_R1, 8 PERF_REG_LOONGARCH_R2, 9 PERF_REG_LOONGARCH_R3, 10 PERF_REG_LOONGARCH_R4, 11 PERF_REG_LOONGARCH_R5, 12 PERF_REG_LOONGARCH_R6, 13 PERF_REG_LOONGARCH_R7, 14 PERF_REG_LOONGARCH_R8, 15 PERF_REG_LOONGARCH_R9, 16 PERF_REG_LOONGARCH_R10, 17 PERF_REG_LOONGARCH_R11, 18 PERF_REG_LOONGARCH_R12, 19 PERF_REG_LOONGARCH_R13, 20 PERF_REG_LOONGARCH_R14, 21 PERF_REG_LOONGARCH_R15, 22 PERF_REG_LOONGARCH_R16, 23 PERF_REG_LOONGARCH_R17, 24 PERF_REG_LOONGARCH_R18, 25 PERF_REG_LOONGARCH_R19, 26 PERF_REG_LOONGARCH_R20, 27 PERF_REG_LOONGARCH_R21, 28 PERF_REG_LOONGARCH_R22, 29 PERF_REG_LOONGARCH_R23, 30 PERF_REG_LOONGARCH_R24, 31 PERF_REG_LOONGARCH_R25, 32 PERF_REG_LOONGARCH_R26, 33 PERF_REG_LOONGARCH_R27, 34 PERF_REG_LOONGARCH_R28, 35 PERF_REG_LOONGARCH_R29, 36 PERF_REG_LOONGARCH_R30, 37 PERF_REG_LOONGARCH_R31, 38 PERF_REG_LOONGARCH_MAX, 39 }; 40 #endif /* _ASM_LOONGARCH_PERF_REGS_H */ 41