[tip:perf/core] perf annotate: Fix perf top module symbol annotation

From: tip-bot for Mike Galbraith
Date: Thu Feb 04 2010 - 04:56:49 EST


Commit-ID: 57d818895f9d294ab9080e5a662675fdee943ff1
Gitweb: http://git.kernel.org/tip/57d818895f9d294ab9080e5a662675fdee943ff1
Author: Mike Galbraith <efault@xxxxxx>
AuthorDate: Thu, 4 Feb 2010 07:31:46 +0100
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Thu, 4 Feb 2010 09:33:28 +0100

perf annotate: Fix perf top module symbol annotation

Signed-off-by: Mike Galbraith <efault@xxxxxx>
Cc: Kirill Smelkov <kirr@xxxxxxxxxxxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
LKML-Reference: <1265265106.6364.5.camel@xxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
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 83c09c8..e4156bc 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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/