Kconfig.debug 848 B

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