[PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present
From: Jean Pihet <hidden>
Date: 2013-09-10 19:38:52
Also in:
lkml
From: Jean Pihet <hidden>
Date: 2013-09-10 19:38:52
Also in:
lkml
On 10 September 2013 21:14, David Ahern [off-list ref] wrote:
On 9/9/13 3:00 AM, Jean Pihet wrote:quoted
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 7014373..54532b8 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile@@ -222,7 +222,7 @@ endif FLAGS_UNWIND=$(LIBUNWIND_CFLAGS) $(CFLAGS) $(LIBUNWIND_LDFLAGS)$(LDFLAGS) $(EXTLIBS) $(LIBUNWIND_LIBS) ifneq ($(call try-cc,$(SOURCE_LIBUNWIND),$(FLAGS_UNWIND),libunwind),y) - msg := $(warning No libunwind found, disabling post unwind support. Please install libunwind-dev[el] >= 0.99); + msg := $(warning No libunwind found, disabling post unwind support. Please install libunwind-dev[el] >= 1.1); NO_LIBUNWIND := 1 endif # Libunwind support endif # NO_LIBUNWINDIs the 1.1 version required for x86 too?
Yes if the dwarf unwinding feature is used. I know it is not in use on x86 as of now but could be in the future since the dwarf info brings more details in the trace, cf. http://lwn.net/Articles/499116/.
David
Jean