Kconfig.debug 1021 B

12345678910111213141516171819202122232425262728293031323334
  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. config DEBUG_STACK_USAGE
  7. bool "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 DEBUG_PAGEALLOC
  14. bool "Page alloc debugging"
  15. depends on DEBUG_KERNEL
  16. help
  17. Unmap pages from the kernel linear mapping after free_pages().
  18. This results in a large slowdown, but helps to find certain types
  19. of memory corruptions.
  20. config FRAME_POINTER
  21. bool "Compile the kernel with frame pointers"
  22. help
  23. If you say Y here the resulting kernel image will be slightly larger
  24. and slower, but it will give very useful debugging information.
  25. If you don't debug the kernel, you can say N, but we may not be able
  26. to solve problems without frame pointers.
  27. endmenu