diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 89a1d5f2ad849fb21033047a4ff260ec3d1fe00c..dfb7fb7b39a74695d792846b4bc3f2354ad1ae47 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -1860,8 +1860,10 @@ int dso__load(struct dso *dso, struct map *map) if (nsexit) nsinfo__mountns_enter(dso->nsinfo, &nsc); - if (bfdrc == 0) + if (bfdrc == 0) { + ret = 0; break; + } if (!is_reg || sirc < 0) continue;