Skip to content

Commit 57d8188

Browse files
Mike GalbraithIngo Molnar
authored andcommitted
perf annotate: Fix perf top module symbol annotation
Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Kirill Smelkov <kirr@landau.phys.spbu.ru> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@infradead.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <1265265106.6364.5.camel@marge.simson.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 6cff0e8 commit 57d8188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/perf/builtin-top.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ static void parse_source(struct sym_entry *syme)
204204
sprintf(command,
205205
"objdump --start-address=0x%016Lx "
206206
"--stop-address=0x%016Lx -dS %s",
207-
map->unmap_ip(map, sym->start),
208-
map->unmap_ip(map, sym->end), path);
207+
map__rip_2objdump(map, sym->start),
208+
map__rip_2objdump(map, sym->end), path);
209209

210210
file = popen(command, "r");
211211
if (!file)

0 commit comments

Comments
 (0)