Kconfig.debug 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config DEBUG_STACKOVERFLOW
  4. bool "Check for stack overflows"
  5. depends on DEBUG_KERNEL
  6. config KPROBES
  7. bool "Kprobes"
  8. depends on DEBUG_KERNEL
  9. help
  10. Kprobes allows you to trap at almost any kernel address and
  11. execute a callback function. register_kprobe() establishes
  12. a probepoint and specifies the callback. Kprobes is useful
  13. for kernel debugging, non-intrusive instrumentation and testing.
  14. If in doubt, say "N".
  15. config DEBUG_STACK_USAGE
  16. bool "Stack utilization instrumentation"
  17. depends on DEBUG_KERNEL
  18. help
  19. Enables the display of the minimum amount of free stack which each
  20. task has ever had available in the sysrq-T and sysrq-P debug output.
  21. This option will slow down process creation somewhat.
  22. config DEBUGGER
  23. bool "Enable debugger hooks"
  24. depends on DEBUG_KERNEL
  25. help
  26. Include in-kernel hooks for kernel debuggers. Unless you are
  27. intending to debug the kernel, say N here.
  28. config XMON
  29. bool "Include xmon kernel debugger"
  30. depends on DEBUGGER && !PPC_ISERIES
  31. help
  32. Include in-kernel hooks for the xmon kernel monitor/debugger.
  33. Unless you are intending to debug the kernel, say N here.
  34. config XMON_DEFAULT
  35. bool "Enable xmon by default"
  36. depends on XMON
  37. config PPCDBG
  38. bool "Include PPCDBG realtime debugging"
  39. depends on DEBUG_KERNEL
  40. config IRQSTACKS
  41. bool "Use separate kernel stacks when processing interrupts"
  42. help
  43. If you say Y here the kernel will use separate kernel stacks
  44. for handling hard and soft interrupts. This can help avoid
  45. overflowing the process kernel stacks.
  46. endmenu