blob: edfeef049a514ba0dfba66cedb9495524af98def [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Ley Foon Tan2fc84832014-11-06 15:20:19 +08002menu "Kernel hacking"
3
4config TRACE_IRQFLAGS_SUPPORT
5 def_bool y
6
7source "lib/Kconfig.debug"
8
9config DEBUG_STACK_USAGE
10 bool "Enable stack utilization instrumentation"
11 depends on DEBUG_KERNEL
12 help
13 Enables the display of the minimum amount of free stack which each
14 task has ever had available in the sysrq-T and sysrq-P debug output.
15
16 This option will slow down process creation somewhat.
17
Ley Foon Tane8bf5bc2015-02-10 23:21:08 +080018config EARLY_PRINTK
19 bool "Activate early kernel debugging"
20 default y
21 select SERIAL_CORE_CONSOLE
Ley Foon Tane8bf5bc2015-02-10 23:21:08 +080022 help
23 Enable early printk on console
24 This is useful for kernel debugging when your machine crashes very
25 early before the console code is initialized.
26 You should normally say N here, unless you want to debug such a crash.
27
Ley Foon Tan2fc84832014-11-06 15:20:19 +080028endmenu