diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 21:59:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-02 00:57:54 +0300 |
commit | 6e7e309c62ab584348e0fef90c8e3e48f634dba1 (patch) | |
tree | feb74fd531cc6244e706bb6ee76403590cb1cdc4 /net/tipc/msg.c | |
parent | 8d64a5ba58157dedc61f3f1f51e1c5d66f32a484 (diff) | |
download | linux-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/msg.c')
-rw-r--r-- | net/tipc/msg.c | 1 |
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, void tipc_msg_dbg(struct print_buf *buf, struct tipc_msg *msg, const char *str) { u32 usr = msg_user(msg); + tipc_printf(buf, KERN_DEBUG); tipc_printf(buf, str); switch (usr) { |