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