Ley Foon Tan | 2fc8483 | 2014-11-06 15:20:19 +0800 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | config TRACE_IRQFLAGS_SUPPORT |
| 4 | def_bool y |
| 5 | |
| 6 | source "lib/Kconfig.debug" |
| 7 | |
| 8 | config 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 | |
Ley Foon Tan | e8bf5bc | 2015-02-10 23:21:08 +0800 | [diff] [blame] | 17 | config 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 | |
Ley Foon Tan | 2fc8483 | 2014-11-06 15:20:19 +0800 | [diff] [blame] | 28 | endmenu |