Skip to content
Commit 8d605269 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

scripts/kallsyms: change table to store (strcut sym_entry *)



The symbol table is extended every 10000 addition by using realloc(),
where data copy might occur to the new buffer.

To decrease the amount of possible data copy, let's change the table
to store the pointer.

The symbol type + symbol name part is appended at the end of
(struct sym_entry), and allocated together with the struct body.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent be9f6133
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment