diff options
Diffstat (limited to 'tools/perf/arch/arm64/util/machine.c')
-rw-r--r-- | tools/perf/arch/arm64/util/machine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/arch/arm64/util/machine.c b/tools/perf/arch/arm64/util/machine.c index ba1144366e..aab1cc2bc2 100644 --- a/tools/perf/arch/arm64/util/machine.c +++ b/tools/perf/arch/arm64/util/machine.c @@ -12,5 +12,7 @@ void arch__add_leaf_frame_record_opts(struct record_opts *opts) { + const struct sample_reg *sample_reg_masks = arch__sample_reg_masks(); + opts->sample_user_regs |= sample_reg_masks[PERF_REG_ARM64_LR].mask; } |