xref: /linux/tools/perf/arch/riscv/util/perf_regs.c (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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