perf callchain: Use debug_frame if eh_frame is unusable
authorRabin Vincent <rabin.vincent@axis.com>
Sun, 27 Sep 2015 18:37:57 +0000 (20:37 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Oct 2015 02:25:25 +0000 (23:25 -0300)
commit8eac1d5e9256260b9cc3bfcdd9b8b995990950f5
tree0e397d62a4982904b86f2cc9c8c281c712785010
parent4aa8e454d347a1c96a2322683a6798de7e17da5f
perf callchain: Use debug_frame if eh_frame is unusable

When NO_LIBUNWIND_DEBUG_FRAME=0, use the .debug_frame if the .eh_frame
doesn't contain the approprate unwind tables.

Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rabin Vincent <rabinv@axis.com>
Link: http://lkml.kernel.org/r/1443379079-29133-3-git-send-email-rabin.vincent@axis.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/unwind-libunwind.c