projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf parse-regs: Introduce a weak function arch__sample_reg_masks()
[linux-2.6-microblaze.git]
/
tools
/
perf
/
arch
/
arm64
/
util
/
machine.c
diff --git
a/tools/perf/arch/arm64/util/machine.c
b/tools/perf/arch/arm64/util/machine.c
index
ba11443
..
aab1cc2
100644
(file)
--- 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;
}