xref: /linux/arch/nios2/Kconfig.debug (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
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	help
22	  Enable early printk on console
23	  This is useful for kernel debugging when your machine crashes very
24	  early before the console code is initialized.
25	  You should normally say N here, unless you want to debug such a crash.
26
27endmenu
28