xref: /linux/tools/perf/arch/loongarch/include/perf_regs.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_PERF_REGS_H
3 #define ARCH_PERF_REGS_H
4 
5 #include <stdlib.h>
6 #include <linux/types.h>
7 #include <asm/perf_regs.h>
8 
9 #define PERF_REGS_MAX PERF_REG_LOONGARCH_MAX
10 
11 #define PERF_REGS_MASK ((1ULL << PERF_REG_LOONGARCH_MAX) - 1)
12 
13 #endif /* ARCH_PERF_REGS_H */
14