perf annotate: Fix perf top module symbol annotation

Signed-off-by: Mike Galbraith <[email protected]>
Cc: Kirill Smelkov <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
Mike Galbraith
2010-02-04 09:33:28 +01:00
committed by Ingo Molnar
parent 6cff0e8dba
commit 57d818895f
+2 -2
View File
@@ -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)