Kconfig.debug 689 B

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