mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() After elf_update_group_sh_info() was introduced, a prototype version of
"objtool klp diff" went from taking ~1s to several minutes, due to
looping almost endlessly in elf_update_group_sh_info() while creating
thousands of local symbols in a file with thousands of sections.
Dramatically improve the performance by marking all symbols' correlated
SHT_GROUP sections while reading the object. That way there's no need
to search for it every time a symbol gets reindexed.
Fixes:
|
||
---|---|---|
.. | ||
arch.h | ||
builtin.h | ||
cfi.h | ||
check.h | ||
elf.h | ||
endianness.h | ||
objtool.h | ||
orc.h | ||
special.h | ||
warn.h |