diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 83c09c8f28edf9a008335c5c0166a4044a500887..e4156bc4566dff3c4f1edb57bf81c8921216d018 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -204,8 +204,8 @@ static void parse_source(struct sym_entry *syme) sprintf(command, "objdump --start-address=0x%016Lx " "--stop-address=0x%016Lx -dS %s", - map->unmap_ip(map, sym->start), - map->unmap_ip(map, sym->end), path); + map__rip_2objdump(map, sym->start), + map__rip_2objdump(map, sym->end), path); file = popen(command, "r"); if (!file)