Kconfig.debug 994 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config DEBUG_STACK_USAGE
  4. bool "Enable stack utilization instrumentation"
  5. depends on DEBUG_KERNEL
  6. help
  7. Enables the display of the minimum amount of free stack which each
  8. task has ever had available in the sysrq-T and sysrq-P debug output.
  9. This option will slow down process creation somewhat.
  10. config DEBUG_DCFLUSH
  11. bool "D-cache flush debugging"
  12. depends on DEBUG_KERNEL
  13. config STACK_DEBUG
  14. depends on DEBUG_KERNEL
  15. bool "Stack Overflow Detection Support"
  16. config DEBUG_BOOTMEM
  17. depends on DEBUG_KERNEL
  18. bool "Debug BOOTMEM initialization"
  19. config DEBUG_PAGEALLOC
  20. bool "Page alloc debugging"
  21. depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND
  22. help
  23. Unmap pages from the kernel linear mapping after free_pages().
  24. This results in a large slowdown, but helps to find certain types
  25. of memory corruptions.
  26. config MCOUNT
  27. bool
  28. depends on STACK_DEBUG
  29. default y
  30. config FRAME_POINTER
  31. bool
  32. depends on MCOUNT
  33. default y
  34. endmenu