with current linux git master you also need this so libunwind is detected on trusty (probably due to the --as-needed linker setting):
--- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -29,7 +29,7 @@ ifeq ($(ARCH),x86) ifeq (${IS_64_BIT}, 1) CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT ARCH_INCLUDE = ../../arch/x86/lib/memcpy_64.S ../../arch/x86/lib/memset_64.S - LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 + LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 -llzma $(call detected,CONFIG_X86_64) else LIBUNWIND_LIBS = -lunwind-x86 -llzma -lunwind -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf Status in linux package in Ubuntu: Confirmed Bug description: Hi, I'm trying to use perf's libunwind support in 13.04 with kernel 3.11.0-12-generic on amd64. Typically you can do this by using the "-g dwarf" flag, but it appears the perf command included in linux- tools-3.11.0-12-generic was not compiled with libunwind. This may be as simple as the build machine didn't have libunwind installed. Having dwarf support in perf with default Ubuntu kernels would be very useful as it provides a way to get profiling information when -fomitframepointer is used. Relevant upstream code: https://github.com/torvalds/linux/blob/v3.11/tools/perf/Makefile#L459 https://github.com/torvalds/linux/blob/v3.11/tools/perf/builtin-record.c#L758 Let me know if I can provide any other information. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1248289/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp