diff --git a/[refs] b/[refs] index 13330a9af298..45db9d322d7d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ce7f15452cc1dc1eca795542367871a07f37aa79 +refs/heads/master: f6e1467d8303a397ce40bcfb5f72f97d3ebc768f diff --git a/trunk/tools/perf/util/symbol.c b/trunk/tools/perf/util/symbol.c index a06131f6259a..87d9b1b8b6bb 100644 --- a/trunk/tools/perf/util/symbol.c +++ b/trunk/tools/perf/util/symbol.c @@ -1131,6 +1131,10 @@ bool __dsos__read_build_ids(struct list_head *head, bool with_hits) list_for_each_entry(pos, head, node) { if (with_hits && !pos->hit) continue; + if (pos->has_build_id) { + have_build_id = true; + continue; + } if (filename__read_build_id(pos->long_name, pos->build_id, sizeof(pos->build_id)) > 0) { have_build_id = true;