aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2010-02-04 01:31:46 -0500
committerIngo Molnar <mingo@elte.hu>2010-02-04 03:33:28 -0500
commit57d818895f9d294ab9080e5a662675fdee943ff1 (patch)
treedbfeb6bd22bc6f7bb94e291ed3b8114a6bc85bc4
parent6cff0e8dbaa4d5d822a814e5028683d7e71c3291 (diff)
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>
-rw-r--r--tools/perf/builtin-top.c4
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)