diff options
Diffstat (limited to 'tools/perf/builtin-buildid-list.c')
-rw-r--r-- | tools/perf/builtin-buildid-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-buildid-list.c b/tools/perf/builtin-buildid-list.c index 0164c1c3e834..ed3873b3e238 100644 --- a/tools/perf/builtin-buildid-list.c +++ b/tools/perf/builtin-buildid-list.c | |||
@@ -73,7 +73,7 @@ static int perf_session__list_build_ids(bool force, bool with_hits) | |||
73 | * in pipe-mode, the only way to get the buildids is to parse | 73 | * in pipe-mode, the only way to get the buildids is to parse |
74 | * the record stream. Buildids are stored as RECORD_HEADER_BUILD_ID | 74 | * the record stream. Buildids are stored as RECORD_HEADER_BUILD_ID |
75 | */ | 75 | */ |
76 | if (with_hits || session->fd_pipe) | 76 | if (with_hits || perf_data_file__is_pipe(&file)) |
77 | perf_session__process_events(session, &build_id__mark_dso_hit_ops); | 77 | perf_session__process_events(session, &build_id__mark_dso_hit_ops); |
78 | 78 | ||
79 | perf_session__fprintf_dsos_buildid(session, stdout, dso__skip_buildid, with_hits); | 79 | perf_session__fprintf_dsos_buildid(session, stdout, dso__skip_buildid, with_hits); |