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

Steinar H. Gunderson sesse@google.com
Mon May 9 12:17:30 GMT 2022


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.

Hi,

Any news on getting this pushed?

/* Steinar */


More information about the Binutils mailing list