diff options
Diffstat (limited to 'tools/perf/builtin-lock.c')
-rw-r--r-- | tools/perf/builtin-lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 75153c87e650..a8035207a3dd 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c | |||
@@ -870,7 +870,7 @@ static int dump_info(void) | |||
870 | return rc; | 870 | return rc; |
871 | } | 871 | } |
872 | 872 | ||
873 | static int process_sample_event(struct perf_tool *tool __used, | 873 | static int process_sample_event(struct perf_tool *tool __maybe_unused, |
874 | union perf_event *event, | 874 | union perf_event *event, |
875 | struct perf_sample *sample, | 875 | struct perf_sample *sample, |
876 | struct perf_evsel *evsel, | 876 | struct perf_evsel *evsel, |
@@ -1020,7 +1020,7 @@ static int __cmd_record(int argc, const char **argv) | |||
1020 | return cmd_record(i, rec_argv, NULL); | 1020 | return cmd_record(i, rec_argv, NULL); |
1021 | } | 1021 | } |
1022 | 1022 | ||
1023 | int cmd_lock(int argc, const char **argv, const char *prefix __used) | 1023 | int cmd_lock(int argc, const char **argv, const char *prefix __maybe_unused) |
1024 | { | 1024 | { |
1025 | unsigned int i; | 1025 | unsigned int i; |
1026 | int rc = 0; | 1026 | int rc = 0; |