aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/db-export.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c
index 2ef1f692c35b..8ca4186bf31b 100644
--- a/tools/perf/util/db-export.c
+++ b/tools/perf/util/db-export.c
@@ -324,10 +324,7 @@ static struct call_path *call_path_from_sample(struct db_export *dbe,
324 al.sym = node->sym; 324 al.sym = node->sym;
325 al.map = node->map; 325 al.map = node->map;
326 al.machine = machine; 326 al.machine = machine;
327 if (al.map) 327 al.addr = node->ip;
328 al.addr = al.map->map_ip(al.map, node->ip);
329 else
330 al.addr = node->ip;
331 328
332 db_ids_from_al(dbe, &al, &dso_db_id, &sym_db_id, &offset); 329 db_ids_from_al(dbe, &al, &dso_db_id, &sym_db_id, &offset);
333 330