← Back to team overview

kernel-packages team mailing list archive

[Bug 1248289] [NEW] Missing libunwind support in perf

 

Public bug reported:

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.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Triaged

-- 
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:
  Triaged

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


Follow ups

References