aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.c
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/msg.c
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/msg.c')
-rw-r--r--net/tipc/msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/msg.c b/net/tipc/msg.c
index ee6b4c68d4a4..a029cdc2df6d 100644
--- a/net/tipc/msg.c
+++ b/net/tipc/msg.c
@@ -138,6 +138,7 @@ int tipc_msg_build(struct tipc_msg *hdr,
138void tipc_msg_dbg(struct print_buf *buf, struct tipc_msg *msg, const char *str) 138void tipc_msg_dbg(struct print_buf *buf, struct tipc_msg *msg, const char *str)
139{ 139{
140 u32 usr = msg_user(msg); 140 u32 usr = msg_user(msg);
141 tipc_printf(buf, KERN_DEBUG);
141 tipc_printf(buf, str); 142 tipc_printf(buf, str);
142 143
143 switch (usr) { 144 switch (usr) {