Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / perf / arch / arm64 / util / machine.c
blobaab1cc2bc283b79db1b6eb67d6617371317ca491
1 // SPDX-License-Identifier: GPL-2.0
3 #include <inttypes.h>
4 #include <stdio.h>
5 #include <string.h>
6 #include "debug.h"
7 #include "symbol.h"
8 #include "callchain.h"
9 #include "perf_regs.h"
10 #include "record.h"
11 #include "util/perf_regs.h"
13 void arch__add_leaf_frame_record_opts(struct record_opts *opts)
15 const struct sample_reg *sample_reg_masks = arch__sample_reg_masks();
17 opts->sample_user_regs |= sample_reg_masks[PERF_REG_ARM64_LR].mask;