Kconfig: Disable KALLSYMS_ALL
We do not need to load all symbols into the kernel image. This takes a significant amount of compile time. Signed-off-by: TogoFire <togofire@mailfence.com> Change-Id: I0250ae96c752f244d0a48e127516513e6d711930
This commit is contained in:
parent
1210b31ce5
commit
e35a1fbdcf
3 changed files with 3 additions and 2 deletions
|
@ -241,7 +241,7 @@ CONFIG_ADVISE_SYSCALLS=y
|
||||||
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
|
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
|
||||||
CONFIG_MEMBARRIER=y
|
CONFIG_MEMBARRIER=y
|
||||||
CONFIG_KALLSYMS=y
|
CONFIG_KALLSYMS=y
|
||||||
CONFIG_KALLSYMS_ALL=y
|
# CONFIG_KALLSYMS_ALL is not set
|
||||||
CONFIG_KALLSYMS_BASE_RELATIVE=y
|
CONFIG_KALLSYMS_BASE_RELATIVE=y
|
||||||
# CONFIG_BPF_LSM is not set
|
# CONFIG_BPF_LSM is not set
|
||||||
CONFIG_BPF_SYSCALL=y
|
CONFIG_BPF_SYSCALL=y
|
||||||
|
|
|
@ -228,7 +228,7 @@ CONFIG_ADVISE_SYSCALLS=y
|
||||||
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
|
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
|
||||||
CONFIG_MEMBARRIER=y
|
CONFIG_MEMBARRIER=y
|
||||||
CONFIG_KALLSYMS=y
|
CONFIG_KALLSYMS=y
|
||||||
CONFIG_KALLSYMS_ALL=y
|
# CONFIG_KALLSYMS_ALL is not set
|
||||||
CONFIG_KALLSYMS_BASE_RELATIVE=y
|
CONFIG_KALLSYMS_BASE_RELATIVE=y
|
||||||
# CONFIG_BPF_LSM is not set
|
# CONFIG_BPF_LSM is not set
|
||||||
CONFIG_BPF_SYSCALL=y
|
CONFIG_BPF_SYSCALL=y
|
||||||
|
|
|
@ -1788,6 +1788,7 @@ config KALLSYMS
|
||||||
config KALLSYMS_ALL
|
config KALLSYMS_ALL
|
||||||
bool "Include all symbols in kallsyms"
|
bool "Include all symbols in kallsyms"
|
||||||
depends on DEBUG_KERNEL && KALLSYMS
|
depends on DEBUG_KERNEL && KALLSYMS
|
||||||
|
default n
|
||||||
help
|
help
|
||||||
Normally kallsyms only contains the symbols of functions for nicer
|
Normally kallsyms only contains the symbols of functions for nicer
|
||||||
OOPS messages and backtraces (i.e., symbols from the text and inittext
|
OOPS messages and backtraces (i.e., symbols from the text and inittext
|
||||||
|
|
Loading…
Add table
Reference in a new issue