diff options
| author | Peter Zijlstra <[email protected]> | 2020-03-12 10:17:38 +0100 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2020-03-25 18:28:30 +0100 |
| commit | cdb3d057a17d56363a831e486ea39e4c389a6cf9 (patch) | |
| tree | 87c68d4378ff885e3efaba3cbad947f100c1c071 /scripts/gdb/linux/mm.py | |
| parent | 513b5ca6b5fbeb766999fb1a4bc9a55c9fb7c9ca (diff) | |
objtool: Optimize find_symbol_by_name()
Perf showed that find_symbol_by_name() takes time; add a symbol name
hash.
This shaves another second off of objtool on vmlinux.o runtime, down
to 15 seconds.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions