]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gprof: speed up line-by-line for MIPS/PowerPC/RISCV/SuperH
authorRichard Allen <rsaxvc@gmail.com>
Sun, 16 Feb 2025 22:50:02 +0000 (16:50 -0600)
committerAlan Modra <amodra@gmail.com>
Sat, 1 Mar 2025 00:47:13 +0000 (11:17 +1030)
commitb6539282a9378cc2587b480c3fc5c75adabf6301
tree4fe048eb3e530272a2760094ca5ab4464761aae5
parentf19534f257eb2643624414c22aa5a32da39d7b66
gprof: speed up line-by-line for MIPS/PowerPC/RISCV/SuperH

Roughly halves the number of bfd_find_nearest_line() calls,
about 40% less time for a few different large ELF files.

Signed-off-by: Richard Allen <rsaxvc@gmail.com>
gprof/corefile.c