1menu "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
17config 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
28endmenu
29