[Bug 1248289] Re: Missing libunwind support in perf

2017-03-14 Thread Mark Sonnabaum
I also just ran into this using hwe on xenial 16.04.2. perf in the stock 16.04.2 is linked to libdw, libunwind, libbfd, and libbz2, all of which are missing after switching to hwe with the 4.8 kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 1248289] Re: Missing libunwind support in perf

2017-02-01 Thread Jon Gjengset
For what it's worth, recompiling `perf` from source fixes the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifications about t

[Bug 1248289] Re: Missing libunwind support in perf

2017-02-01 Thread Jon Gjengset
In fact, on Yakkety with 4.8.0-34, the results of running perf --call- graph are even more bizarre: $ perf record --call-graph dwarf sleep 1 Error: The sys_perf_event_open() syscall returned with 22 (Invalid argument) for event (cycles). /bin/dmesg may provide additional information. No CONFIG_PE

[Bug 1248289] Re: Missing libunwind support in perf

2017-01-31 Thread Reimar Döffinger
This either was never fixed or broke again, perf links neither against libunwind or libdw: $ ldd /usr/lib/linux-tools/4.8.0-37-generic/perf linux-vdso.so.1 => (0x7ffee7766000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7efec8bb9000) librt.so.1 =>

[Bug 1248289] Re: Missing libunwind support in perf

2016-06-09 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.4.0-24.43 --- linux (4.4.0-24.43) xenial; urgency=low [ Kamal Mostafa ] * CVE-2016-1583 (LP: #1588871) - ecryptfs: fix handling of directory opening - SAUCE: proc: prevent stacking filesystems on top - SAUCE: ecryptfs: forbi

[Bug 1248289] Re: Missing libunwind support in perf

2016-06-09 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.4.0-24.43 --- linux (4.4.0-24.43) xenial; urgency=low [ Kamal Mostafa ] * CVE-2016-1583 (LP: #1588871) - ecryptfs: fix handling of directory opening - SAUCE: proc: prevent stacking filesystems on top - SAUCE: ecryptfs: forbi

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-27 Thread Shikhar Bhardwaj
Hi, When will this bugfix be released for Xenial? Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifications about this bug go t

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-23 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.4.0-23.41 --- linux (4.4.0-23.41) xenial; urgency=low [ Kamal Mostafa ] * Release Tracking Bug - LP: #1582431 * zfs: disable module checks for zfs when cross-compiling (LP: #1581127) - [Packaging] disable zfs module checks wh

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-20 Thread Kamal Mostafa
** Changed in: linux (Ubuntu Xenial) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifications a

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-20 Thread Andy Whitcroft
I have spun a new patch for the additional Build-Depends: and will submit it once testing is complete. >From an SRU testing standpoint the application of this patch is benign so if we do not have a respin (when we should consider including this additional patch) we can consider this "verification-

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-20 Thread Andy Whitcroft
For clarity the patch applied to Xenial was the moral equivalent to that in comment#17. This does enable libunwind in the perf build, but we also need the libbfd support for it to be useful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-20 Thread Julian Taylor
if you check the buildlog you see its not fixed, its still missing libbfd-dev, have you applied the posted patch? ** Changed in: linux (Ubuntu Xenial) Status: Fix Committed => Triaged ** Changed in: linux (Ubuntu Yakkety) Status: Fix Committed => Triaged -- You received this bug n

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-19 Thread Kamal Mostafa
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- xenial' to 'verification-done-xenial'. If verification is not done by 5 working days from t

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-17 Thread Tim Gardner
** Also affects: linux (Ubuntu Yakkety) Importance: Medium Assignee: Tim Gardner (timg-tpi) Status: Confirmed ** Changed in: linux (Ubuntu Yakkety) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is sub

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-10 Thread Kamal Mostafa
** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Xenial) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 1248289] Re: Missing libunwind support in perf

2016-05-05 Thread Dmitry Rekman
Does this problem not affect Canonical developers working on, say, Mir (which is written in C++)? It is way more painful to profile applications on stock Ubuntu. This can mean that Mir developers are not interested in performance of their server, which I hope is a wrong conclusion to draw. -- Y

[Bug 1248289] Re: Missing libunwind support in perf

2016-04-21 Thread Benjamin.M
This problem affects me too (on Xenial): > uname -a Linux Nyx 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux > perf --version perf version 4.4.6 Adding --call-graph dwarf doesn't change that the symbols aren't demangled. -- You received this bug n

[Bug 1248289] Re: Missing libunwind support in perf

2016-02-03 Thread Jerry Quinn
Bug 1396654 c++ demangle support missing reported as a duplicate of this one. Is anyone working on it? I'm having difficulty profiling c++ on ubuntu. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/124

[Bug 1248289] Re: Missing libunwind support in perf

2015-11-26 Thread Julian Taylor
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_S

[Bug 1248289] Re: Missing libunwind support in perf

2015-11-19 Thread Tim Gardner
Alex - please send patches to kernel-t...@lists.ubuntu.com. I'm pretty sure nobody is looking at this particular problem right now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Miss

[Bug 1248289] Re: Missing libunwind support in perf

2015-11-19 Thread Alex Cornejo
This seems like a packaging problem, since in the debian world (not ubuntu) perf happily supports dwarf symbols. What is the current status? I would be happy to contribute a patch to fix it, but don't want to redo anyone's work. Also, is there a reason that the fix could not get backported to old

[Bug 1248289] Re: Missing libunwind support in perf

2015-10-20 Thread Julian Taylor
just tested the 4.2 kernel, the issue has not been fixed it can also be seen in the buildlogs 52311 config/Makefile:527: No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain sym bol demangling 52312 config/Makefile:556: No liblzma found, disables xz ker

[Bug 1248289] Re: Missing libunwind support in perf

2015-09-02 Thread Tim Gardner
The Wily kernel will be released as an LTS HWE kernel in 14.04.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifications about this bu

[Bug 1248289] Re: Missing libunwind support in perf

2015-09-02 Thread Julian Taylor
can the fix be applied at least to 14.04 lts kernels as well? It should just be adding a build depends as I can build a correct perf just fine on a stock 14.04 with the right dependencies (libbfd-dev I think is the missing one) -- You received this bug notification because you are a member of U

[Bug 1248289] Re: Missing libunwind support in perf

2015-09-02 Thread Tim Gardner
This appears to be fixed in Wily linux 4.2-7.7 ** Changed in: linux (Ubuntu) Status: In Progress => Fix Released ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Tim Gardner (timg-tpi) -- You received this bug notification because you are a member of Ubuntu Bugs, which is sub

[Bug 1248289] Re: Missing libunwind support in perf

2015-09-02 Thread Tim Gardner
** Changed in: linux (Ubuntu) Assignee: Tim Gardner (timg-tpi) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifica

[Bug 1248289] Re: Missing libunwind support in perf

2014-07-02 Thread mbel
looks like this issue is rather tricky. adding libunwind to build dependecies actually gives nothing, there is still no dwarf support. Digging deeper I found that following test, which detects libunwind support for perf is not passed: "gcc -o test-libunwind test-libunwind.c -lunwind -lunwind-x86 -

[Bug 1248289] Re: Missing libunwind support in perf

2014-06-03 Thread tacy
Hi Julian Below is my test. tacy@tacy:~$ sudo perf record --call-graph dwarf -a callchain: Unknown --call-graph option value: dwarf usage: perf record [] [] or: perf record [] -- [] --call-graph setup and enables call-graph (stack chain/backtrace) recor

Re: [Bug 1248289] Re: Missing libunwind support in perf

2014-06-03 Thread Julian Taylor
in trusty the command line is: perf record --call-graph dwarf compared to saucy dwarf support seems to work fine in trusty so this issue can be closed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/124

[Bug 1248289] Re: Missing libunwind support in perf

2014-06-03 Thread tacy
Presics + trusty lts kernel (3.13.0-27) ~$ sudo perf record -g dwarf -a dwarf: No such file or directory strace output: 11268 10647 execve("/usr/local/sbin/dwarf", ["dwarf", "-a"], [/* 28 vars */]) = -1 ENOENT (No such file or directory) 11269 10647 execve("/usr/local/bin/dwarf", ["dwarf", "-a"

[Bug 1248289] Re: Missing libunwind support in perf

2014-01-13 Thread Mark Nelson
Hi Tim, Sorry to respond so late to this, hadn't seen your question earlier and have been bogged down with holidays. I've not seen -g dwarf work yet in a stock ubuntu kernel, but have seen it work in custom kernel compiles. Unfortunately I don't have any raring machines handy at the moment to ver

[Bug 1248289] Re: Missing libunwind support in perf

2013-11-07 Thread Julian Taylor
yes in raring perf -g dwarf worked. It stopped working for me in saucy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifications about

[Bug 1248289] Re: Missing libunwind support in perf

2013-11-07 Thread Tim Gardner
Mark - as far as I can tell, libunwind _is_ used during the compilation of perf. I assume what you are doing worked prior to Saucy ? ** Changed in: linux (Ubuntu) Status: Triaged => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Tim Gardner (timg-tpi) -- You rec

[Bug 1248289] Re: Missing libunwind support in perf

2013-11-05 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Tags added: saucy trusty ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libun

[Bug 1248289] Re: Missing libunwind support in perf

2013-11-05 Thread Mark Nelson
jtaylor: Yep, this is saucy. Just upgraded in fact for the newer stock kernel and hoping that dwarf support would be there. :) I work on Ceph at Inktank and there are times when we are debugging customer clusters with stock kernels where having unwind support in perf would be very useful. It w

[Bug 1248289] Re: Missing libunwind support in perf

2013-11-05 Thread Julian Taylor
oh '-g fp' is without unwind support right having dwarf back would be nice. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifications ab

[Bug 1248289] Re: Missing libunwind support in perf

2013-11-05 Thread Julian Taylor
kernel 3.11 is a saucy kernel not raring are you on saucy or using a backported kernel? on saucy perf its '-g fp' instead of '-g dwarf' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title:

[Bug 1248289] Re: Missing libunwind support in perf

2013-11-05 Thread Brad Figg
** Changed in: linux (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1248289 Title: Missing libunwind support in perf To manage notifications about this bug go