Re: [PATCH v2] Add a trie to map quickly from address range to compilation unit.
From: Steinar H. Gunderson
Date: Sat May 18 2024 - 12:54:43 EST
On Sat, May 18, 2024 at 06:53:11PM +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.
I accidentally sent out an ancient patch anew; sorry, please ignore.
/* Steinar */