Kconfig.debug 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config DEBUG_STACKOVERFLOW
  4. bool "Check for stack overflows"
  5. depends on DEBUG_KERNEL
  6. help
  7. This option will cause messages to be printed if free stack space
  8. drops below a certain limit.
  9. config DEBUG_STACK_USAGE
  10. bool "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. This option will slow down process creation somewhat.
  16. config DEBUG_PAGEALLOC
  17. bool "Debug page memory allocations"
  18. depends on DEBUG_KERNEL && BROKEN
  19. help
  20. Unmap pages from the kernel linear mapping after free_pages().
  21. This results in a large slowdown, but helps to find certain types
  22. of memory corruptions.
  23. config FRAME_POINTER
  24. bool "Compile the kernel with frame pointers"
  25. help
  26. If you say Y here the resulting kernel image will be slightly larger
  27. and slower, but it will give very useful debugging information.
  28. If you don't debug the kernel, you can say N, but we may not be able
  29. to solve problems without frame pointers.
  30. endmenu