.. | .. |
---|
3 | 3 | #include "perf_regs.h" |
---|
4 | 4 | #include "event.h" |
---|
5 | 5 | |
---|
6 | | -const struct sample_reg __weak sample_reg_masks[] = { |
---|
7 | | - SMPL_REG_END |
---|
8 | | -}; |
---|
9 | | - |
---|
10 | 6 | int __weak arch_sdt_arg_parse_op(char *old_op __maybe_unused, |
---|
11 | 7 | char **new_op __maybe_unused) |
---|
12 | 8 | { |
---|
13 | 9 | return SDT_ARG_SKIP; |
---|
14 | 10 | } |
---|
15 | 11 | |
---|
| 12 | +uint64_t __weak arch__intr_reg_mask(void) |
---|
| 13 | +{ |
---|
| 14 | + return PERF_REGS_MASK; |
---|
| 15 | +} |
---|
| 16 | + |
---|
| 17 | +uint64_t __weak arch__user_reg_mask(void) |
---|
| 18 | +{ |
---|
| 19 | + return PERF_REGS_MASK; |
---|
| 20 | +} |
---|
| 21 | + |
---|
16 | 22 | #ifdef HAVE_PERF_REGS_SUPPORT |
---|
17 | 23 | int perf_reg_value(u64 *valp, struct regs_dump *regs, int id) |
---|
18 | 24 | { |
---|