Go to the documentation of this file.
8 #ifndef _LINUX_SUNRPC_DEBUG_H_
9 #define _LINUX_SUNRPC_DEBUG_H_
17 #ifdef CONFIG_SUNRPC_DEBUG
20 #ifdef CONFIG_TRACEPOINTS
21 #define RPC_TRACEPOINTS
35 #define dprintk(args...) dfprintk(FACILITY, ## args)
36 #define dprintk_rcu(args...) dfprintk_rcu(FACILITY, ## args)
40 # define ifdebug(fac) if (unlikely(rpc_debug & RPCDBG_##fac))
42 # define dfprintk(fac, args...) \
45 printk(KERN_DEFAULT args); \
48 # define dfprintk_rcu(fac, args...) \
52 printk(KERN_DEFAULT args); \
57 # define RPC_IFDEBUG(x) x
59 # define ifdebug(fac) if (0)
60 # define dfprintk(fac, args...) do {} while (0)
61 # define dfprintk_rcu(fac, args...) do {} while (0)
62 # define RPC_IFDEBUG(x)
69 void rpc_register_sysctl(
void);
70 void rpc_unregister_sysctl(
void);