Kconfig.debug 654 B

123456789101112131415161718192021
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config DEBUG_PAGEALLOC
  4. bool "Debug page memory allocations"
  5. depends on DEBUG_KERNEL && BROKEN
  6. help
  7. Unmap pages from the kernel linear mapping after free_pages().
  8. This results in a large slowdown, but helps to find certain types
  9. of memory corruptions.
  10. config FRAME_POINTER
  11. bool "Compile the kernel with frame pointers"
  12. help
  13. If you say Y here the resulting kernel image will be slightly larger
  14. and slower, but it will give very useful debugging information.
  15. If you don't debug the kernel, you can say N, but we may not be able
  16. to solve problems without frame pointers.
  17. endmenu