diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index ae61e9f4d6ebf90f14adfcbe6521cd31bb36614e..4267138c7bbe73de21830cba86ff65e41b74ee0f 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -1679,7 +1679,7 @@ static struct dso *dsos__find(struct list_head *head, const char *name) struct dso *pos; list_for_each_entry(pos, head, node) - if (strcmp(pos->name, name) == 0) + if (strcmp(pos->long_name, name) == 0) return pos; return NULL; }