GNU Linux-libre 4.14.266-gnu1
[releases.git] / arch / nios2 / Kconfig.debug
1 # SPDX-License-Identifier: GPL-2.0
2 menu "Kernel hacking"
3
4 config TRACE_IRQFLAGS_SUPPORT
5         def_bool y
6
7 source "lib/Kconfig.debug"
8
9 config 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
18 config 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
28 endmenu