[PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present
Jean Pihet
jean.pihet at linaro.org
Tue Sep 10 15:38:49 EDT 2013
On 10 September 2013 21:14, David Ahern <dsahern at gmail.com> wrote:
> On 9/9/13 3:00 AM, Jean Pihet wrote:
>>
>> 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_LIBUNWIND
>
>
> Is 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
More information about the linux-arm-kernel
mailing list