Kconfig.debug 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 KPROBES
  11. bool "Kprobes"
  12. depends on DEBUG_KERNEL
  13. help
  14. Kprobes allows you to trap at almost any kernel address and
  15. execute a callback function. register_kprobe() establishes
  16. a probepoint and specifies the callback. Kprobes is useful
  17. for kernel debugging, non-intrusive instrumentation and testing.
  18. If in doubt, say "N".
  19. config DEBUG_DCFLUSH
  20. bool "D-cache flush debugging"
  21. depends on DEBUG_KERNEL
  22. config STACK_DEBUG
  23. depends on DEBUG_KERNEL
  24. bool "Stack Overflow Detection Support"
  25. config DEBUG_BOOTMEM
  26. depends on DEBUG_KERNEL
  27. bool "Debug BOOTMEM initialization"
  28. config MCOUNT
  29. bool
  30. depends on STACK_DEBUG
  31. default y
  32. config FRAME_POINTER
  33. bool
  34. depends on MCOUNT
  35. default y
  36. endmenu