From: Chuck Lever Date: Mon, 16 Jul 2007 20:28:05 +0000 (-0400) Subject: rpcdebug: Update 'rpcdebug' tool with recently added debugging flags X-Git-Tag: nfs-utils-1-1-1~151 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=8ebf0d12ec1496658d28411f5adb795dda0abaf0;p=nfs-utils.git rpcdebug: Update 'rpcdebug' tool with recently added debugging flags Signed-off-by: Chuck Lever Signed-off-by: Neil Brown --- diff --git a/support/include/nfs/debug.h b/support/include/nfs/debug.h index 57be843..d391e91 100644 --- a/support/include/nfs/debug.h +++ b/support/include/nfs/debug.h @@ -9,7 +9,7 @@ #define RPCDBG_DEBUG 0x0004 #define RPCDBG_NFS 0x0008 #define RPCDBG_AUTH 0x0010 -#define RPCDBG_PMAP 0x0020 +#define RPCDBG_BIND 0x0020 #define RPCDBG_SCHED 0x0040 #define RPCDBG_TRANS 0x0080 #define RPCDBG_SVCSOCK 0x0100 @@ -74,6 +74,8 @@ enum { #define NFSDBG_FILE 0x0040 #define NFSDBG_ROOT 0x0080 #define NFSDBG_CALLBACK 0x0100 +#define NFSDBG_CLIENT 0x0200 +#define NFSDBG_MOUNT 0x0400 #define NFSDBG_ALL 0xFFFF #endif /* _NFS_DEBUG_H */ diff --git a/tools/rpcdebug/rpcdebug.c b/tools/rpcdebug/rpcdebug.c index 0a12519..275a491 100644 --- a/tools/rpcdebug/rpcdebug.c +++ b/tools/rpcdebug/rpcdebug.c @@ -146,7 +146,7 @@ static struct flagmap { FLAG(RPC, DEBUG), FLAG(RPC, NFS), FLAG(RPC, AUTH), - FLAG(RPC, PMAP), + FLAG(RPC, BIND), FLAG(RPC, SCHED), FLAG(RPC, TRANS), FLAG(RPC, SVCSOCK), @@ -165,6 +165,8 @@ static struct flagmap { FLAG(NFS, FILE), FLAG(NFS, ROOT), FLAG(NFS, CALLBACK), + FLAG(NFS, CLIENT), + FLAG(NFS, MOUNT), FLAG(NFS, ALL), /* nfsd */