xref: /linux/tools/perf/arch/riscv/util/perf_regs.c (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1 // SPDX-License-Identifier: GPL-2.0
2 #include "perf_regs.h"
3 #include "../../util/perf_regs.h"
4 
5 static const struct sample_reg sample_reg_masks[] = {
6 	SMPL_REG_END
7 };
8 
9 uint64_t arch__intr_reg_mask(void)
10 {
11 	return PERF_REGS_MASK;
12 }
13 
14 uint64_t arch__user_reg_mask(void)
15 {
16 	return PERF_REGS_MASK;
17 }
18 
19 const struct sample_reg *arch__sample_reg_masks(void)
20 {
21 	return sample_reg_masks;
22 }
23