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