]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: addr2line wants addresses in same format as objdump
authorDavid Miller <davem@davemloft.net>
Sun, 25 Mar 2012 20:28:12 +0000 (16:28 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Mar 2012 15:06:24 +0000 (12:06 -0300)
commit68ba49115af3aed8e9232a98501d9da7784570f5
tree54ff3daf96b62af079e77687e3b5e4ffcebb5824
parenta74ed3d3a4723881fa7b6bc236fc5db83a5be52f
perf annotate: addr2line wants addresses in same format as objdump

Therefore, in symbol__get_source_line(), use map__rip_2objdump
instead of calling map->unmap_ip() unconditionally.

Link: http://lkml.kernel.org/r/20120325.162812.59519424882536855.davem@davemloft.net
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c