diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 716118a3b3e4..b790673cb0aa 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -865,7 +865,7 @@ static int __cmd_top(void) | |||
865 | { | 865 | { |
866 | pthread_t thread; | 866 | pthread_t thread; |
867 | struct perf_evsel *first; | 867 | struct perf_evsel *first; |
868 | int ret; | 868 | int ret __used; |
869 | /* | 869 | /* |
870 | * FIXME: perf_session__new should allow passing a O_MMAP, so that all this | 870 | * FIXME: perf_session__new should allow passing a O_MMAP, so that all this |
871 | * mmap reading, etc is encapsulated in it. Use O_WRONLY for now. | 871 | * mmap reading, etc is encapsulated in it. Use O_WRONLY for now. |