4 #include <linux/types.h>
5 #include <linux/compiler.h>
13 #define SMPL_REG(n, b) { .name = #n, .mask = 1ULL << (b) }
14 #define SMPL_REG_END { .name = NULL }
16 extern const struct sample_reg sample_reg_masks[];
23 int arch_sdt_arg_parse_op(char *old_op, char **new_op);
25 #ifdef HAVE_PERF_REGS_SUPPORT
26 #include <perf_regs.h>
28 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
31 #define PERF_REGS_MASK 0
32 #define PERF_REGS_MAX 0
34 static inline const char *perf_reg_name(int id __maybe_unused)
39 static inline int perf_reg_value(u64 *valp __maybe_unused,
40 struct regs_dump *regs __maybe_unused,
41 int id __maybe_unused)
45 #endif /* HAVE_PERF_REGS_SUPPORT */
46 #endif /* __PERF_REGS_H */