![Christoph Hellwig](/assets/img/avatar_default.png)
Move the source of lib/Kconfig.debug and arch/$(ARCH)/Kconfig.debug to the top-level Kconfig. For two architectures that means moving their arch-specific symbols in that menu into a new arch Kconfig.debug file, and for a few more creating a dummy file so that we can include it unconditionally. Also move the actual 'Kernel hacking' menu to lib/Kconfig.debug, where it belongs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
24 lines
717 B
Plaintext
24 lines
717 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config TRACE_IRQFLAGS_SUPPORT
|
|
def_bool y
|
|
|
|
config DEBUG_STACK_USAGE
|
|
bool "Enable stack utilization instrumentation"
|
|
depends on DEBUG_KERNEL
|
|
help
|
|
Enables the display of the minimum amount of free stack which each
|
|
task has ever had available in the sysrq-T and sysrq-P debug output.
|
|
|
|
This option will slow down process creation somewhat.
|
|
|
|
config EARLY_PRINTK
|
|
bool "Activate early kernel debugging"
|
|
default y
|
|
select SERIAL_CORE_CONSOLE
|
|
help
|
|
Enable early printk on console
|
|
This is useful for kernel debugging when your machine crashes very
|
|
early before the console code is initialized.
|
|
You should normally say N here, unless you want to debug such a crash.
|