perf top: Fix symbol annotation
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Oct 2009 17:54:55 +0000 (15:54 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 20 Oct 2009 19:12:59 +0000 (21:12 +0200)
commitc88e4bf60de6253a048cf4e6b3b0715e543e0460
tree14eae172a497f5d024c1da49fa014f7bb5b26c67
parent8f0b037398a909ccf703ad5f5803066db6327f22
perf top: Fix symbol annotation

We need to use map->unmap_ip() here too to match section
relative symbol address to the absolute address needed to match
objdump -dS addresses.

Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1256061295-19835-1-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-top.c