diff options
Diffstat (limited to 'tools/perf/util/unwind.h')
-rw-r--r-- | tools/perf/util/unwind.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/perf/util/unwind.h b/tools/perf/util/unwind.h index 919bd6ad8501..a78c8b303bb5 100644 --- a/tools/perf/util/unwind.h +++ b/tools/perf/util/unwind.h | |||
@@ -22,11 +22,12 @@ int unwind__get_entries(unwind_entry_cb_t cb, void *arg, | |||
22 | int unwind__arch_reg_id(int regnum); | 22 | int unwind__arch_reg_id(int regnum); |
23 | #else | 23 | #else |
24 | static inline int | 24 | static inline int |
25 | unwind__get_entries(unwind_entry_cb_t cb __used, void *arg __used, | 25 | unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, |
26 | struct machine *machine __used, | 26 | void *arg __maybe_unused, |
27 | struct thread *thread __used, | 27 | struct machine *machine __maybe_unused, |
28 | u64 sample_uregs __used, | 28 | struct thread *thread __maybe_unused, |
29 | struct perf_sample *data __used) | 29 | u64 sample_uregs __maybe_unused, |
30 | struct perf_sample *data __maybe_unused) | ||
30 | { | 31 | { |
31 | return 0; | 32 | return 0; |
32 | } | 33 | } |