4 #include <linux/types.h>
13 extern const struct sample_reg sample_reg_masks
[];
15 #ifdef HAVE_PERF_REGS_SUPPORT
16 #include <perf_regs.h>
18 int perf_reg_value(u64
*valp
, struct regs_dump
*regs
, int id
);
21 #define PERF_REGS_MASK 0
22 #define PERF_REGS_MAX 0
24 static inline const char *perf_reg_name(int id __maybe_unused
)
29 static inline int perf_reg_value(u64
*valp __maybe_unused
,
30 struct regs_dump
*regs __maybe_unused
,
31 int id __maybe_unused
)
35 #endif /* HAVE_PERF_REGS_SUPPORT */
36 #endif /* __PERF_REGS_H */