aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r--tools/perf/builtin-diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index c4c6d76b70ea..761f4197a9e2 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -33,7 +33,7 @@ static int hists__add_entry(struct hists *self,
33 return -ENOMEM; 33 return -ENOMEM;
34} 34}
35 35
36static int diff__process_sample_event(struct perf_tool *tool __used, 36static int diff__process_sample_event(struct perf_tool *tool __maybe_unused,
37 union perf_event *event, 37 union perf_event *event,
38 struct perf_sample *sample, 38 struct perf_sample *sample,
39 struct perf_evsel *evsel, 39 struct perf_evsel *evsel,
@@ -242,7 +242,7 @@ static const struct option options[] = {
242 OPT_END() 242 OPT_END()
243}; 243};
244 244
245int cmd_diff(int argc, const char **argv, const char *prefix __used) 245int cmd_diff(int argc, const char **argv, const char *prefix __maybe_unused)
246{ 246{
247 sort_order = diff__default_sort_order; 247 sort_order = diff__default_sort_order;
248 argc = parse_options(argc, argv, options, diff_usage, 0); 248 argc = parse_options(argc, argv, options, diff_usage, 0);