Skip to contentSkip to conversation

rpcdebug: Update 'rpcdebug' tool with recently added debugging flags

PATCH In review Chuck Lever 1 participant 1 message Jul 16, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/17 rpcdebug: Update 'rpcdebug' tool with recently added debugging flags

Add the CLIENT and MOUNT flags to rpcdebug.
---

 support/include/nfs/debug.h |    4 +++-
 tools/rpcdebug/rpcdebug.c   |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
support/include/nfs/debug.h +3 -1
index 57be843..d391e91 100644
@@ -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 */
tools/rpcdebug/rpcdebug.c +3 -1
index 0a12519..275a491 100644
@@ -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 */

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs