summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/db-export.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c
index f8e3057ae3b1..2ef1f692c35b 100644
--- a/tools/perf/util/db-export.c
+++ b/tools/perf/util/db-export.c
@@ -260,8 +260,7 @@ static int db_ids_from_al(struct db_export *dbe, struct addr_location *al,
260 if (!al->sym) { 260 if (!al->sym) {
261 al->sym = symbol__new(al->addr, 0, 0, "unknown"); 261 al->sym = symbol__new(al->addr, 0, 0, "unknown");
262 if (al->sym) 262 if (al->sym)
263 symbols__insert(&dso->symbols[al->map->type], 263 dso__insert_symbol(dso, al->map->type, al->sym);
264 al->sym);
265 } 264 }
266 265
267 if (al->sym) { 266 if (al->sym) {