diff options
author | Peter Zijlstra <[email protected]> | 2020-03-12 10:20:46 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-03-25 18:28:30 +0100 |
commit | 513b5ca6b5fbeb766999fb1a4bc9a55c9fb7c9ca (patch) | |
tree | 496c3cc712bee303774059f2ff1a6875e06b9c97 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 53d20720bbc8718ef86fdfe53dec0accfb593ef8 (diff) |
objtool: Resize insn_hash
Perf shows we're spending a lot of time in find_insn() and the
statistics show we have around 3.2 million instruction. Increase the
hash table size to reduce the bucket load from around 50 to 3.
This shaves about 2s off of objtool on vmlinux.o runtime, down to 16s.
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions