aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index ae61e9f4d6eb..4267138c7bbe 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)
1679 struct dso *pos; 1679 struct dso *pos;
1680 1680
1681 list_for_each_entry(pos, head, node) 1681 list_for_each_entry(pos, head, node)
1682 if (strcmp(pos->name, name) == 0) 1682 if (strcmp(pos->long_name, name) == 0)
1683 return pos; 1683 return pos;
1684 return NULL; 1684 return NULL;
1685} 1685}