aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0626fa4856e6..58bfe7e8faba 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -912,6 +912,17 @@ config DYNAMIC_DEBUG
912 912
913 See Documentation/dynamic-debug-howto.txt for additional information. 913 See Documentation/dynamic-debug-howto.txt for additional information.
914 914
915config DMA_API_DEBUG
916 bool "Enable debugging of DMA-API usage"
917 depends on HAVE_DMA_API_DEBUG
918 help
919 Enable this option to debug the use of the DMA API by device drivers.
920 With this option you will be able to detect common bugs in device
921 drivers like double-freeing of DMA mappings or freeing mappings that
922 were never allocated.
923 This option causes a performance degredation. Use only if you want
924 to debug device drivers. If unsure, say N.
925
915source "samples/Kconfig" 926source "samples/Kconfig"
916 927
917source "lib/Kconfig.kgdb" 928source "lib/Kconfig.kgdb"