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
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
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
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 =>
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
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
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
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
** 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
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-
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
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
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
** 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
** 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
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
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 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
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
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
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
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
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
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
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
** 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
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 -
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
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
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"
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
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
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
** 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
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
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
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:
** 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
38 matches
Mail list logo