xref: /openbmc/linux/arch/nios2/Kconfig.debug (revision a99237af)
1# SPDX-License-Identifier: GPL-2.0
2
3config TRACE_IRQFLAGS_SUPPORT
4	def_bool y
5
6config DEBUG_STACK_USAGE
7	bool "Enable stack utilization instrumentation"
8	depends on DEBUG_KERNEL
9	help
10	  Enables the display of the minimum amount of free stack which each
11	  task has ever had available in the sysrq-T and sysrq-P debug output.
12
13	  This option will slow down process creation somewhat.
14
15config EARLY_PRINTK
16	bool "Activate early kernel debugging"
17	default y
18	select SERIAL_CORE_CONSOLE
19	help
20	  Enable early printk on console
21	  This is useful for kernel debugging when your machine crashes very
22	  early before the console code is initialized.
23	  You should normally say N here, unless you want to debug such a crash.
24