xref: /openbmc/linux/arch/nios2/Kconfig.debug (revision ba61bb17)
1# SPDX-License-Identifier: GPL-2.0
2menu "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
18config EARLY_PRINTK
19	bool "Activate early kernel debugging"
20	default y
21	select SERIAL_CORE_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