Hi,

On Sun, Nov 24, 2024 at 10:45:50AM +0100, Ralf Jung wrote:
Package: linux-perf
Version: 6.11.9-1
Severity: normal

Dear Maintainer,

I am trying to use cargo-flamegraph to produce a flamegraph from perf data. That
invokes "perf script" and that has now been running already 15 minutes on a tiny
perf file containing 3300 samples. Something is extremely slow here, making some
kinds of perf analysis basically impossible.

Looking around for perf performance issues, I found
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911815, which however is
supposed to have been fixed years ago. But I still see thousands and thousands
of addr2line processes being spawned, so somehow
<https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=be8ecc57f180415e8a7c1cc5620c5236be2a7e56>
either did not have the desired effect or is not present in current kernels any
more?

When I finally killed "perf script", I saw a lot of this kind of output:

addr2line 
/home/r/.debug/.build-id/37/8f73d84f9d89f55dfc18a9ab84bce321cd9b09/elf: could 
not read first record

I don't know whether that could cause the slowdown, or what could cause that 
error.

Is this still something you can reproduce?

On a quick check, it seems like "perf script" now finishes in a few seconds now.

Kind regards,
Ralf

Reply via email to