xref: /linux/tools/perf/arch/csky/include/perf_regs.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd.
3 
4 #ifndef ARCH_PERF_REGS_H
5 #define ARCH_PERF_REGS_H
6 
7 #include <stdlib.h>
8 #include <linux/types.h>
9 #include <asm/perf_regs.h>
10 
11 #define PERF_REGS_MASK	((1ULL << PERF_REG_CSKY_MAX) - 1)
12 #define PERF_REGS_MAX	PERF_REG_CSKY_MAX
13 #define PERF_SAMPLE_REGS_ABI	PERF_SAMPLE_REGS_ABI_32
14 
15 #endif /* ARCH_PERF_REGS_H */
16