summaryrefslogtreecommitdiff
path: root/net/tipc/Kconfig
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 21:59:28 +0300
committerDavid S. Miller <davem@davemloft.net>2011-01-02 00:57:54 +0300
commit6e7e309c62ab584348e0fef90c8e3e48f634dba1 (patch)
treefeb74fd531cc6244e706bb6ee76403590cb1cdc4 /net/tipc/Kconfig
parent8d64a5ba58157dedc61f3f1f51e1c5d66f32a484 (diff)
downloadlinux-6e7e309c62ab584348e0fef90c8e3e48f634dba1.tar.xz
tipc: Finish streamlining of debugging code
Completes the simplification of TIPC's debugging capabilities. By default TIPC includes no debugging code, and any debugging code added by developers that calls the dbg() and dbg_macros() is compiled out. If debugging support is enabled, TIPC prints out some additional data about its internal state when certain abnormal conditions occur, and any developer-added calls to the TIPC debug macros are compiled in. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/Kconfig')
-rw-r--r--net/tipc/Kconfig11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/tipc/Kconfig b/net/tipc/Kconfig
index c02d3e9c156d..0e7ce30fd567 100644
--- a/net/tipc/Kconfig
+++ b/net/tipc/Kconfig
@@ -67,12 +67,15 @@ config TIPC_LOG
managed remotely via TIPC.
config TIPC_DEBUG
- bool "Enable debug messages"
+ bool "Enable debugging support"
default n
help
- This enables debugging of TIPC.
+ Saying Y here enables TIPC debugging capabilities used by developers.
+ Most users do not need to bother; if unsure, just say N.
- Only say Y here if you are having trouble with TIPC. It will
- enable the display of detailed information about what is going on.
+ Enabling debugging support causes TIPC to display data about its
+ internal state when certain abnormal conditions occur. It also
+ makes it easy for developers to capture additional information of
+ interest using the dbg() or msg_dbg() macros.
endif # TIPC