Kconfig.debug 776 B

12345678910111213141516171819202122232425262728
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Kernel hacking"
  3. config TRACE_IRQFLAGS_SUPPORT
  4. def_bool y
  5. source "lib/Kconfig.debug"
  6. config 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. This option will slow down process creation somewhat.
  13. config EARLY_PRINTK
  14. bool "Activate early kernel debugging"
  15. default y
  16. select SERIAL_CORE_CONSOLE
  17. help
  18. Enable early printk on console
  19. This is useful for kernel debugging when your machine crashes very
  20. early before the console code is initialized.
  21. You should normally say N here, unless you want to debug such a crash.
  22. endmenu