Re: [PATCH v3 13/26] objtool: Optimize find_symbol_by_name()
From: Miroslav Benes
Date: Wed Mar 25 2020 - 06:25:31 EST
On Tue, 24 Mar 2020, Peter Zijlstra wrote:
> 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@xxxxxxxxxxxxx>
> Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
M