Bug#725075: linux-tools-3.10: perf record -g option doesn't support "dwarf" method
Package: linux-tools-3.10
Version: 3.10-4
Severity: normal
Dear Maintainer,
The "perf record" command "-g <method>" option doesn't support a "dwarf"
method in Debian. As the "dwarf" allows operating on programs which
were compiled without a frame pointer (the default on amd64), "dwarf"
is very handy.
Here's what it does in debian:
$ perf record -g dwarf echo hi
callchain: Unknown -g option value: dwarf
usage: perf record [<options>] [<command>]
... etc ...
It looks like perf only supports "dwarf" if it was compiled with
libunwind, so I suppose Debian didn't have that installed when
compiling it.
Could you make sure perf is compiled with libunwind, so the very handy
"dwarf" -g method works?
Thanks,
-iles
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-tools-3.10 depends on:
ii libc6 2.17-93
ii libdw1 0.156-1
ii libelf1 0.156-1
ii libperl5.18 5.18.1-4
ii libpython2.7 2.7.5-8
ii libslang2 2.2.4-15
ii perl 5.18.1-4
ii python 2.7.5-5
Versions of packages linux-tools-3.10 recommends:
ii linux-base 3.5
Versions of packages linux-tools-3.10 suggests:
pn linux-doc-3.10 <none>
-- no debconf information
Reply to: