[PATCH v4] Add a trie to map quickly from address range to compilation unit.

Jan Beulich jbeulich@suse.com
Fri May 20 14:12:48 GMT 2022


On 09.05.2022 14:17, Steinar H. Gunderson via Binutils wrote:
> On Fri, Apr 22, 2022 at 12:25:12PM +0200, Steinar H. Gunderson wrote:
>> When using perf to profile large binaries, _bfd_dwarf2_find_nearest_line()
>> becomes a hotspot, as perf wants to get line number information
>> (for inline-detection purposes) for each and every sample. In Chromium
>> in particular (the content_shell binary), this entails going through
>> 475k address ranges, which takes a long time when done repeatedly.
> 
> Any news on getting this pushed?

I've now committed it. In the patch (e.g. as a post-commit-message
remark) there was no indication that this needs taking care of by
someone, so I was going from the assumption that you would have
commit access yourself.

Jan



More information about the Binutils mailing list