diff options
Diffstat (limited to 'tools/perf/builtin-buildid-list.c')
-rw-r--r-- | tools/perf/builtin-buildid-list.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/builtin-buildid-list.c b/tools/perf/builtin-buildid-list.c index 7c36e4b2eccf..e693e6777af5 100644 --- a/tools/perf/builtin-buildid-list.c +++ b/tools/perf/builtin-buildid-list.c | |||
@@ -54,8 +54,9 @@ static int perf_file_section__process_buildids(struct perf_file_section *self, | |||
54 | static int __cmd_buildid_list(void) | 54 | static int __cmd_buildid_list(void) |
55 | { | 55 | { |
56 | int err = -1; | 56 | int err = -1; |
57 | struct perf_session *session = perf_session__new(input_name, O_RDONLY, | 57 | struct perf_session *session; |
58 | force, NULL); | 58 | |
59 | session = perf_session__new(input_name, O_RDONLY, force); | ||
59 | if (session == NULL) | 60 | if (session == NULL) |
60 | return -1; | 61 | return -1; |
61 | 62 | ||