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


Groups > linux.debian.kernel > #90823

Bug#1125667: Major `perf record` performance regression - why is it trying to run addr2line??

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Max Mueggler <maxmueggler@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1125667: Major `perf record` performance regression - why is it trying to run addr2line??
Date Thu, 15 Jan 2026 18:50:01 +0100
Message-ID <MdzDP-aMcy-5@gated-at.bofh.it> (permalink)
X-Original-To submit@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Jan 15 17:43:08 2026
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -0.796
Reply-To Max Mueggler <maxmueggler@gmail.com>, 1125667@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-kernel@lists.debian.org
X-Debian-Pr-Message report 1125667
X-Debian-Pr-Package linux-perf
X-Debian-Pr-Source linux, linux-latest
X-Gm-Message-State AOJu0Ywz8jHS1qOdG3RUfu1vKpHOT+k2VjSXhoaQ5lXb3GswusXxiI3e jE/XJtzvAROlmG6QOwH+hMkhqAIDjiUr2meQF53rov7HaG5xXmizPMCMrOWgBA==
X-Gm-Gg AY/fxX4TN0qvruYUkDCShpOtIyoLM7+XvboaW7v6nqnOJaDyorxIEt9ZJvxqtv55gYO QR9cEaIqSPHuhNKsztNC5ltej3SovaXK40vpaTVPNkTfv9VujZ5CvJZAgOLKHVgPDN4Uo/QyXBq qzHmDZvHndlmps9k/a9MVa5PC6085XRy3/H7eFQj1KUhVAkSemJR0efRTfL1fCaNjgeF/zO6aG1 8lwqjT5jh2Ua0Tdi7GA6NRAdvkYIeGXbeKs5aLzThThRs6AcssYrE54l/EEt/smx0vL9ADd71+a ONd7QB/1cJ53M0W8Yijb8bdmLQvF3ixRgRurhPbaMk70UbYLmgqPAonx7DKd7dZbxUEoifFUocr KWk3qM5cPheKbrHcQ0h8FBkWMHguQP6mCAXTKUSf39Dp3u4OA+sRkjSDrvr8SkCZeENwTbs+FhC l+dif+5ORK+dXcpdOawRatcJCfJpBhtyrC1fHWBQUOAJNhsvtwdMJUh0gPGtjUPlwW
X-Received by 2002:a05:690e:1614:b0:63f:b0c7:849b with SMTP id 956f58d0204a3-6491648ee45mr378823d50.36.1768498869721; Thu, 15 Jan 2026 09:41:09 -0800 (PST)
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1948063
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 15 Jan 2026 12:41:08 -0500
X-Original-Message-ID <cb0c6c74-bb5a-4624-8bc9-00af1b9b8069@gmail.com>
Xref csiph.com linux.debian.bugs.dist:1278559 linux.debian.kernel:90823

Cross-posted to 2 groups.

Show key headers only | View raw


Package: linux-perf

Version: 6.17.13

In previous versions, I was able to run e.g. `perf record --call-graph 
dwarf,16384 -m 64M -p <PID>` and it would exit fairly quickly after 
pressing crtl+C. Now, the same command has been running for over an hour 
after profiling for about 10 seconds! Every few seconds it prints an error:

addr2line /path/to/symbols/file.debug: could not read first record

The way perf invokes addr2line is known to be very slow, but I have 
previously only encountered that when running `perf script`. `perf 
record --call-graph dwarf` used to only record stack dumps, not try and 
symbolicate them, which other tools, e.g. hotspot or samply, are much 
faster at doing. I believe `perf record` *shouldn't* be trying to do 
this on its own, at least without being explicitly requested to, and the 
manpage makes no mention of it.

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


Thread

Bug#1125667: Major `perf record` performance regression - why is it trying to run addr2line?? Max Mueggler <maxmueggler@gmail.com> - 2026-01-15 18:50 +0100

csiph-web