Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62677

Bug#915877: linux-perf-4.18 in Stretch bpo is not linked with libunwind

From Szabolcs Fazekas <szabolcs.fazekas@ahrefs.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#915877: linux-perf-4.18 in Stretch bpo is not linked with libunwind
Date 2018-12-07 15:00 +0100
Message-ID <x2oPE-4gO-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

package: linux-perf-4.18
version: 4.18.6-1~bpo9+1

Package is not linked with libunwind, which makes perf report very slow
when dwarf graph is used.

How to reproduce:
$ sudo perf_4.18 record -F 200 -p 38429 --call-graph dwarf sleep 120
$ time sudo perf report -G --no-inline > /dev/null

real    5m18.259s
user    5m10.644s
sys    0m7.527s

I managed to rebuild linux-perf-4.18 manually with libunwind. Using the
exact same set of samples, this is how it performs:
$ time sudo perf_4.18 report -G --no-inline > /dev/null

real    0m0.846s
user    0m0.654s
sys    0m0.190s

I confirmed the followings:
 - linux-perf-4.9 is linked with libunwind and performs properly
 - linux-perf-* packages in sid/experimental are also linked with libunwind
 - linux-perf-* (>4.9) in Stretch backports are not linked with libunwind
and they perform poorly

I suggest to rebuild all linux-perf packages in Stretch backports with
libunwind linked.

-- 
Szabolcs Fazekas
Ahrefs

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#915877: linux-perf-4.18 in Stretch bpo is not linked with libunwind Szabolcs Fazekas <szabolcs.fazekas@ahrefs.com> - 2018-12-07 15:00 +0100

csiph-web