ANDROID: GKI: Disable CONFIG_KALLSYMS_ALL
Disables CONFIG_KALLSYMS_ALL from gki_defconfig.
Normally kallsyms only contains the symbols of functions for nicer
OOPS messages and backtraces (i.e., symbols from the text and inittext
sections). This is sufficient for most cases. And only if you want to
enable kernel live patching, or other less common use cases (e.g.,
when a debugger is used) all symbols are required (i.e., names of
variables from the data sections, etc). CONFIG_KALLSYMS_ALL
makes sure that all symbols are loaded into the kernel image
(i.e., symbols from all sections) in cost of increased kernel size.
Bloatbuster previously did not kick in when it was enabled but it
is bloating the kernel image size, and this should not be part
of the production kernel config.
Bug: 381946221
Test: TH
Change-Id: I8ada2df110ca40aa7484e1010b9ca662345221f3
Signed-off-by:
Ramji Jiyani <ramjiyani@google.com>
Loading
Please sign in to comment