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


Groups > linux.debian.kernel > #72857

Bug#911815: /usr/bin/perf_4.18: Please build perf against libbfd

From Tony Garnock-Jones <tonyg@leastfixedpoint.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#911815: /usr/bin/perf_4.18: Please build perf against libbfd
Date 2021-09-09 13:10 +0200
Message-ID <CVq6m-6Lc-7@gated-at.bofh.it> (permalink)
References (4 earlier) <wMY13-5xi-1@gated-at.bofh.it> <AEWA1-7bf-3@gated-at.bofh.it> <AEWA1-7bf-3@gated-at.bofh.it> <wMHjz-3U2-3@gated-at.bofh.it> <AEWA1-7bf-3@gated-at.bofh.it>
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

Dear Steinar, Ben, Mike, others:

On Tue, 18 Aug 2020 00:35:53 +0200 "Steinar H. Gunderson" 
<sesse@debian.org> wrote:
> But we can probably make the addr2line solution much faster?
> perf runs:
> [...]
> but the normal way of running addr2line is to run it and then start feeding
> it addresses on stdin (ie. don't start the program anew for each and every
> address we want to look up). I haven't tried, but it sounds like that would
> reduce overhead significantly?

Thanks, Steinar, for your suggestion! I've written a patch against the 
non-libbfd code in perf to try it out.

It works very well. What used to take endless minutes now takes a few 
seconds.

Please find my small patch (against "apt source linux-perf-5.10") attached.

I have also started the process of submitting it upstream.

Best Regards,
   Tony

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


Thread

Bug#911815: /usr/bin/perf_4.18: Please build perf against libbfd Tony Garnock-Jones <tonyg@leastfixedpoint.com> - 2021-09-09 13:10 +0200
  Bug#911815: /usr/bin/perf_4.18: Please build perf against libbfd "Steinar H. Gunderson" <sesse@debian.org> - 2021-09-09 15:00 +0200
  Bug#911815: /usr/bin/perf_4.18: Please build perf against libbfd Tony Garnock-Jones <tonyg@leastfixedpoint.com> - 2021-09-10 12:40 +0200
    Bug#911815: /usr/bin/perf_4.18: Please build perf against libbfd Salvatore Bonaccorso <carnil@debian.org> - 2021-11-11 22:40 +0100

csiph-web