aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/Kconfig
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 13:59:28 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-01 16:57:54 -0500
commit6e7e309c62ab584348e0fef90c8e3e48f634dba1 (patch)
treefeb74fd531cc6244e706bb6ee76403590cb1cdc4 /net/tipc/Kconfig
parent8d64a5ba58157dedc61f3f1f51e1c5d66f32a484 (diff)
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 c02d3e9c156..0e7ce30fd56 100644
--- a/net/tipc/Kconfig
+++ b/net/tipc/Kconfig
@@ -67,12 +67,15 @@ config TIPC_LOG
67 managed remotely via TIPC. 67 managed remotely via TIPC.
68 68
69config TIPC_DEBUG 69config TIPC_DEBUG
70 bool "Enable debug messages" 70 bool "Enable debugging support"
71 default n 71 default n
72 help 72 help
73 This enables debugging of TIPC. 73 Saying Y here enables TIPC debugging capabilities used by developers.
74 Most users do not need to bother; if unsure, just say N.
74 75
75 Only say Y here if you are having trouble with TIPC. It will 76 Enabling debugging support causes TIPC to display data about its
76 enable the display of detailed information about what is going on. 77 internal state when certain abnormal conditions occur. It also
78 makes it easy for developers to capture additional information of
79 interest using the dbg() or msg_dbg() macros.
77 80
78endif # TIPC 81endif # TIPC