Kconfig.debug 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 SPARC64 && DEBUG_KERNEL
  16. config STACK_DEBUG
  17. bool "Stack Overflow Detection Support"
  18. config MCOUNT
  19. bool
  20. depends on SPARC64
  21. depends on STACK_DEBUG || FUNCTION_TRACER
  22. default y
  23. config FRAME_POINTER
  24. bool
  25. depends on MCOUNT
  26. default y
  27. config DEBUG_STRICT_USER_COPY_CHECKS
  28. bool "Strict copy size checks"
  29. depends on DEBUG_KERNEL && !TRACE_BRANCH_PROFILING
  30. ---help---
  31. Enabling this option turns a certain set of sanity checks for user
  32. copy operations into compile time failures.
  33. The copy_from_user() etc checks are there to help test if there
  34. are sufficient security checks on the length argument of
  35. the copy operation, by having gcc prove that the argument is
  36. within bounds.
  37. If unsure, or if you run an older (pre 4.4) gcc, say N.
  38. endmenu