[PATCH v2 00/16] scripts/kallsyms: various cleanups and optimizations
From: Masahiro Yamada
Date: Sat Nov 23 2019 - 11:05:55 EST
Changes in v2:
- Add a new patch that shrinks the table before the sort.
Masahiro Yamada (16):
scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
scripts/kallsyms: fix definitely-lost memory leak
scripts/kallsyms: shrink table before sorting it
scripts/kallsyms: set relative_base more effectively
scripts/kallsyms: remove redundant is_arm_mapping_symbol()
scripts/kallsyms: remove unneeded length check for prefix matching
scripts/kallsyms: add sym_name() to mitigate cast ugliness
scripts/kallsyms: replace prefix_underscores_count() with strspn()
scripts/kallsyms: make find_token() return (unsigned char *)
scripts/kallsyms: add const qualifiers where possible
scripts/kallsyms: skip ignored symbols very early
scripts/kallsyms: move more patterns to the ignored_prefixes array
scripts/kallsyms: move ignored symbol types to is_ignored_symbol()
scripts/kallsyms: make check_symbol_range() void function
scripts/kallsyms: put check_symbol_range() calls close together
scripts/kallsyms: remove redundant initializers
scripts/kallsyms.c | 287 ++++++++++++++++++++++-----------------------
1 file changed, 142 insertions(+), 145 deletions(-)
--
2.17.1