perf tools powerpc: Use dwfl_report_elf() instead of offline.
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Sat, 22 Nov 2014 01:33:53 +0000 (20:33 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Jan 2015 20:49:30 +0000 (17:49 -0300)
commit6bcf9c1ff3ec22fd81eba336737d9865476509b1
tree7c4708991245cf4abf4161b5ffa9741c0ff2bb9c
parent813ccd15452ed34e97aa526ffc70d6d8e6c466c5
perf tools powerpc: Use dwfl_report_elf() instead of offline.

dwfl_report_offline() works only when libraries are prelinked.

Replace dwfl_report_offline() with dwfl_report_elf() so we correctly
extract debug info even from libraries that are not prelinked.

Reported-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tested-by: Jiri Olsa <jolsa@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: http://lkml.kernel.org/r/20150114221045.GA17703@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/powerpc/util/skip-callchain-idx.c