| #include <linux/compiler.h> |
| #define SMPL_REG(n, b) { .name = #n, .mask = 1ULL << (b) } |
| #define SMPL_REG_END { .name = NULL } |
| extern const struct sample_reg sample_reg_masks[]; |
| int arch_sdt_arg_parse_op(char *old_op, char **new_op); |
| #ifdef HAVE_PERF_REGS_SUPPORT |
| int perf_reg_value(u64 *valp, struct regs_dump *regs, int id); |
| static inline const char *perf_reg_name(int id __maybe_unused) |
| static inline int perf_reg_value(u64 *valp __maybe_unused, |
| struct regs_dump *regs __maybe_unused, |
| #endif /* HAVE_PERF_REGS_SUPPORT */ |
| #endif /* __PERF_REGS_H */ |