Kconfig.debug 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. menu "Kernel hacking"
  2. config TRACE_IRQFLAGS_SUPPORT
  3. bool
  4. default y
  5. source "lib/Kconfig.debug"
  6. config DEBUG_STACK_USAGE
  7. bool "Enable 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_DCFLUSH
  14. bool "D-cache flush debugging"
  15. depends on DEBUG_KERNEL
  16. config STACK_DEBUG
  17. depends on DEBUG_KERNEL
  18. bool "Stack Overflow Detection Support"
  19. config DEBUG_BOOTMEM
  20. depends on DEBUG_KERNEL
  21. bool "Debug BOOTMEM initialization"
  22. config DEBUG_PAGEALLOC
  23. bool "Debug page memory allocations"
  24. depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND
  25. help
  26. Unmap pages from the kernel linear mapping after free_pages().
  27. This results in a large slowdown, but helps to find certain types
  28. of memory corruptions.
  29. config MCOUNT
  30. bool
  31. depends on STACK_DEBUG
  32. default y
  33. config FRAME_POINTER
  34. bool
  35. depends on MCOUNT
  36. default y
  37. endmenu