diff options
| author | Masahiro Yamada <[email protected]> | 2023-05-15 00:27:27 +0900 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2023-05-22 10:34:38 +0900 |
| commit | 9990ca35870b7c57d39f8b325d676dfd028035b4 (patch) | |
| tree | 2b4e8f770e87f3215648cb6aaaaa6df93ba39a09 /tools/perf/scripts/python | |
| parent | dbf7cc2e4e78dfecad02ff17ff5c9971b42da462 (diff) | |
modpost: pass section index to find_elf_symbol2()
find_elf_symbol2() converts the section index to the section name,
then compares the two strings in each iteration. This is slow.
It is faster to compare the section indices (i.e. integers) directly.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions