commit | cdb3d057a17d56363a831e486ea39e4c389a6cf9 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Thu Mar 12 10:17:38 2020 +0100 |
committer | Peter Zijlstra <peterz@infradead.org> | Wed Mar 25 18:28:30 2020 +0100 |
tree | 87c68d4378ff885e3efaba3cbad947f100c1c071 | |
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) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200324160924.676865656@infradead.org