perf parse-regs: Introduce a weak function arch__sample_reg_masks()
[linux-2.6-microblaze.git] / tools / perf / arch / arm64 / util / machine.c
index ba11443..aab1cc2 100644 (file)
@@ -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;
 }