[Kernel-packages] [Bug 1894407] Re: linux-tools: can perf be linked against libbfd, maybe statically?

2021-09-10 Thread Tony Garnock-Jones
I've prepared a patch that uses a single long-running instance of addr2line for each dso, instead of one per address request. It dramatically speeds up e.g. `perf script` operation (I don't know if it solves OP's problem but it could be relevant!). Discussion on linux-perf-users mailing list:

[Kernel-packages] [Bug 1894407] Re: linux-tools: can perf be linked against libbfd, maybe statically?

2020-10-12 Thread Nikhil Benesch
As it turns out Ubuntu *did* used to link perf statically: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/783660 So I really don't understand the objection here. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1894407] Re: linux-tools: can perf be linked against libbfd, maybe statically?

2020-10-12 Thread Nikhil Benesch
I too would very much like to see this fixed. As it stands `perf report` is unusable on large binaries on Ubuntu. Seth, I think Jay's arguments are compelling. Do you agree? If I prepared a patch, would that be helpful? -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1894407] Re: linux-tools: can perf be linked against libbfd, maybe statically?

2020-09-10 Thread Jay Freeman (saurik)
(Actually, I'm frustrated enough I'm just going to say it explicitly, rather than indirectly: it looks like you didn't read my comment, as even the thrust of your response--that "it's not just about installing different versions of linux-tools"--isn't something I even hinted at as the reason; the

[Kernel-packages] [Bug 1894407] Re: linux-tools: can perf be linked against libbfd, maybe statically?

2020-09-10 Thread Jay Freeman (saurik)
I not only understood that but explicitly stated as such; not just the reasoning, but also the policy... however, that only applies to dynamic linking: other packages--as I also explicitly demonstrated--link against libbfd statically for this very reason; are you saying that there has been a

[Kernel-packages] [Bug 1894407] Re: linux-tools: can perf be linked against libbfd, maybe statically?

2020-09-10 Thread Seth Forshee
It's not just about installing different versions of linux-tools. libbfd has no guarantee of a stable ABI/API, which makes it problematic for external packages to link against them. Thus it is against policy to link against libbfd in Ubuntu, and we simply cannot link perf against it as long as

[Kernel-packages] [Bug 1894407] Re: linux-tools: can perf be linked against libbfd, maybe statically?

2020-09-06 Thread Jay Freeman (saurik)
I am leaving a comment to the effect that my issue is not something for which logs are relevant. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.