Kconfig.debug 1.7 KB

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