Kconfig.debug 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config INIT_DEBUG
  4. bool "Debug __init statements"
  5. depends on DEBUG_KERNEL
  6. help
  7. Fill __init and __initdata at the end of boot. This helps debugging
  8. illegal uses of __init and __initdata after initialization.
  9. config IOMMU_DEBUG
  10. depends on GART_IOMMU && DEBUG_KERNEL
  11. bool "Enable IOMMU debugging"
  12. help
  13. Force the IOMMU to on even when you have less than 4GB of
  14. memory and add debugging code. On overflow always panic. And
  15. allow to enable IOMMU leak tracing. Can be disabled at boot
  16. time with iommu=noforce. This will also enable scatter gather
  17. list merging. Currently not recommended for production
  18. code. When you use it make sure you have a big enough
  19. IOMMU/AGP aperture. Most of the options enabled by this can
  20. be set more finegrained using the iommu= command line
  21. options. See Documentation/x86_64/boot-options.txt for more
  22. details.
  23. config KPROBES
  24. bool "Kprobes"
  25. depends on DEBUG_KERNEL
  26. help
  27. Kprobes allows you to trap at almost any kernel address and
  28. execute a callback function. register_kprobe() establishes
  29. a probepoint and specifies the callback. Kprobes is useful
  30. for kernel debugging, non-intrusive instrumentation and testing.
  31. If in doubt, say "N".
  32. config IOMMU_LEAK
  33. bool "IOMMU leak tracing"
  34. depends on DEBUG_KERNEL
  35. depends on IOMMU_DEBUG
  36. help
  37. Add a simple leak tracer to the IOMMU code. This is useful when you
  38. are debugging a buggy device driver that leaks IOMMU mappings.
  39. #config X86_REMOTE_DEBUG
  40. # bool "kgdb debugging stub"
  41. endmenu