aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/confdata.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-02-02 14:09:21 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-02-04 01:54:30 +0900
commit8d60526999aace135de37220ec94ba40bc792234 (patch)
treea94acc6e71a69ed9fbe1b88f25d7a81aa7137085 /scripts/kconfig/confdata.c
parentscripts/kallsyms: rename local variables in read_symbol() (diff)
downloadlinux-dev-8d60526999aace135de37220ec94ba40bc792234.tar.xz
linux-dev-8d60526999aace135de37220ec94ba40bc792234.zip
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: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions