perf: parse the .debug_frame section in case .eh_frame is not present
authorJean Pihet <jean.pihet@linaro.org>
Thu, 26 Sep 2013 11:36:38 +0000 (12:36 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 30 Sep 2013 15:42:12 +0000 (16:42 +0100)
commitab255e72204fc5127f0adf40ba103d9335fefa30
tree953f548561e3e4011f514deb5a5e80bbf8f13bf7
parent405ffbd4988118c56ff127792ebddae77d2c7a43
perf: parse the .debug_frame section in case .eh_frame is not present

On ARM the debug info is not present in the .eh_frame sections but
in .debug_frame instead, in dwarf format.
Use libunwind to load and parse the debug info.

Dependencies:
 . if present, libunwind >= 1.1 is needed to prevent a segfault when
   parsing the dwarf info,
 . libunwind needs to be configured with --enable-debug-frame. Note:
   --enable-debug-frame is automatically selected on ARM.

Acked-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Jean Pihet <jean.pihet@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
tools/perf/util/unwind.c
This page took 0.025484 seconds and 5 git commands to generate.