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

Path csiph.com!news.mixmin.net!news.unit0.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
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 Fri, 07 Dec 2018 15:00:02 +0100
Message-ID <x2oPE-4gO-11@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Dec 7 13:57:10 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.998
Reply-To Szabolcs Fazekas <szabolcs.fazekas@ahrefs.com>, 915877@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message report 915877
X-Debian-Pr-Package linux-perf-4.18
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 37; hammy, 93; neutral, 34; spammy, 0. spammytokens: hammytokens:0.000-+--backports, 0.000-+--bpo9, 0.000-+--UD:gappssmtp.com, 0.000-+--UD:20150623.gappssmtp.com, 0.000-+--libunwind
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=ahrefs-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=wC9gjCHkVWNN9sQ8HZ+KKG7ciFzRnUtAtNM6mQObHOY=; b=wYXGMwFxi0e4U9oq8kGUswwpDuQf2v5y9AJNI1KuPYntcTR2U3iu8jULfcIl/ldNFl dJASMYkCUR1hQuXl+iqDzrBAWiKyeCJfSalrDuuBA6evff8jlX63pmThLWlH7GuPIr2s IJqi/cqi07q7K7KPbUzsWzWA9IhrE/tUYR0Vc7tJeMg5Su4pAqcBsQxiIN+6tc7Fsb3i 62XLmgRJmxQYdz+xim5KcSBBl28nb3gFhLO8xRKnu2pQrBrBxMCiasemqr+RQNu2N8jo 3Bdadw3kk4dEWhqWPs1Wfy/EEVegJyUJcnsCFzuESXqG7amATD+xCZVOfhQTE3sYFePq ip2A==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wC9gjCHkVWNN9sQ8HZ+KKG7ciFzRnUtAtNM6mQObHOY=; b=XTpAe2zjhW6xfNyFb6uEFL4WanKjHhlvzS+vA+AYzQnWNYphDQdirD7uFTXIFwfk0B oGIGsZH2A4Kywepc7D0nqmQcoterUVPKK28DombX2CscbU/TvFvHHf4afOfnZ7HTo5yV 0dwqQet4SthHErebkAW3/33F/SuApdwGQE+0YPjBktMOzRCpmRMVQbf7/VFJlKkccxXJ aHT7D9MuCM0xojp4efINWIBjJVchMiCwdRYizwNxo6fZ09dxobgRUWLXNZDY31E/mrNZ 0nc0MVHij6jtStsjsaBHbE3bouBsOG3K8kageJAzDWJDt+WoTC46HmiEX3xbf/yijDiY jyFQ==
X-Gm-Message-State AA+aEWavlmD+pPhaX7Q0dBMOxmdHssIL0q4zMn3tCOz5oJ3sC350EDoX bVA1ZtvO3S+V/8i3B5bzRcCpGkTyFJaf1IWjO/z91ir5nS6grA==
X-Google-SMTP-Source AFSGD/XpPPNgLciVlkdUqdQXUJF9/DyviTSaOj/w0Yb+R4y/y4n2gukwYWaWohuUm481idSnhJkPZc75qm/iPFBDsIo=
X-Received by 2002:a02:12c5:: with SMTP id 66mr1870667jap.54.1544190871820; Fri, 07 Dec 2018 05:54:31 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/alternative; boundary="000000000000616d9e057c6ef4f1"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1504044
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 66
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 7 Dec 2018 14:54:20 +0100
X-Original-Message-ID <CAHG1x5uJDbbhm0DHE_q1toeHQnohVqGqEiPDVWAB_2a+LQv2AQ@mail.gmail.com>
Xref csiph.com linux.debian.bugs.dist:932157 linux.debian.kernel:62677

Cross-posted to 2 groups.

Show key headers only | 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