mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 17:18:25 +02: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 | ||