[PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present
From: Jiri Olsa <hidden>
Date: 2013-09-12 12:39:23
Also in:
lkml
From: Jiri Olsa <hidden>
Date: 2013-09-12 12:39:23
Also in:
lkml
On Mon, Sep 09, 2013 at 12:00:15PM +0200, Jean Pihet wrote:
On ARM the debug info is not present in the .eh_frame sections but in .debug_frame instead, in the 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 to prevent a linkage error. Note: --enable-debug-frame is automatically selected on ARM). Signed-off-by: Jean Pihet <redacted>
I tested the .eh_frame code is still functional, but haven't tested the .debug_frame functionality itself otherwise it looks ok: Rewieved-by: Jiri Olsa [off-list ref] thanks, jirka