lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 04 Feb 2010 07:31:46 +0100 From: Mike Galbraith <efault@....de> To: Arnaldo Carvalho de Melo <acme@...radead.org> Cc: Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org, Kirill Smelkov <kirr@...dau.phys.spbu.ru>, Arnaldo Carvalho de Melo <acme@...hat.com> Subject: Re: [PATCH 8/9] perf annotate: fix it for non-prelinked *.so On Wed, 2010-02-03 at 16:52 -0200, Arnaldo Carvalho de Melo wrote: > const char *path = NULL; > @@ -397,7 +397,8 @@ static void annotate_sym(struct hist_entry *he) > dso, dso->long_name, sym, sym->name); > > sprintf(command, "objdump --start-address=0x%016Lx --stop-address=0x%016Lx -dS %s|grep -v %s", > - map->unmap_ip(map, sym->start), map->unmap_ip(map, sym->end), > + map__rip_2objdump(map, sym->start), > + map__rip_2objdump(map, sym->end), > filename, filename); > Monkey see monkey do. perf tools: fix perf top module symbol annotation. Signed-off-by: Mike Galbraith <efault@....de> Cc: Ingo Molnar <mingo@...e.hu> Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl> Cc: Frederic Weisbecker <fweisbec@...il.com> Cc: Arnaldo Carvalho de Melo <acme@...hat.com> LKML-Reference: <new-submission> --- tools/perf/builtin-top.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6/tools/perf/builtin-top.c =================================================================== --- linux-2.6.orig/tools/perf/builtin-top.c +++ linux-2.6/tools/perf/builtin-top.c @@ -204,8 +204,8 @@ static void parse_source(struct sym_entr 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@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists