diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/builtin-top.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 83c09c8f28ed..e4156bc4566d 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) | |||
204 | sprintf(command, | 204 | sprintf(command, |
205 | "objdump --start-address=0x%016Lx " | 205 | "objdump --start-address=0x%016Lx " |
206 | "--stop-address=0x%016Lx -dS %s", | 206 | "--stop-address=0x%016Lx -dS %s", |
207 | map->unmap_ip(map, sym->start), | 207 | map__rip_2objdump(map, sym->start), |
208 | map->unmap_ip(map, sym->end), path); | 208 | map__rip_2objdump(map, sym->end), path); |
209 | 209 | ||
210 | file = popen(command, "r"); | 210 | file = popen(command, "r"); |
211 | if (!file) | 211 | if (!file) |