blob: 2fd08cbfdddb2a724db5685d0b7df86d6fe4d9bc [file] [log] [blame]
Ley Foon Tan2fc84832014-11-06 15:20:19 +08001menu "Kernel hacking"
2
3config TRACE_IRQFLAGS_SUPPORT
4 def_bool y
5
6source "lib/Kconfig.debug"
7
8config DEBUG_STACK_USAGE
9 bool "Enable stack utilization instrumentation"
10 depends on DEBUG_KERNEL
11 help
12 Enables the display of the minimum amount of free stack which each
13 task has ever had available in the sysrq-T and sysrq-P debug output.
14
15 This option will slow down process creation somewhat.
16
Ley Foon Tane8bf5bc2015-02-10 23:21:08 +080017config EARLY_PRINTK
18 bool "Activate early kernel debugging"
19 default y
20 select SERIAL_CORE_CONSOLE
21 depends on SERIAL_ALTERA_JTAGUART_CONSOLE || SERIAL_ALTERA_UART_CONSOLE
22 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