summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4trace.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-09 17:51:26 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-22 14:58:21 +0200
commitc6d01c6f9bf94075a726b3103a7e90d981017326 (patch)
treed8631119b8a434e212f9944a91eb0fdb32915b0b /fs/nfs/nfs4trace.c
parentNFS: Add tracepoints for debugging NFS hard links (diff)
downloadlinux-c6d01c6f9bf94075a726b3103a7e90d981017326.tar.xz
linux-c6d01c6f9bf94075a726b3103a7e90d981017326.zip
NFSv4: Add tracepoints for debugging state management problems
Set up basic tracepoints for debugging client id creation/destruction and session creation/destruction. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4trace.c')
-rw-r--r--fs/nfs/nfs4trace.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/nfs/nfs4trace.c b/fs/nfs/nfs4trace.c
new file mode 100644
index 000000000000..3f0218365fc7
--- /dev/null
+++ b/fs/nfs/nfs4trace.c
@@ -0,0 +1,10 @@
+/*
+ * Copyright (c) 2013 Trond Myklebust <Trond.Myklebust@netapp.com>
+ */
+#include <linux/nfs_fs.h>
+#include "nfs4_fs.h"
+#include "internal.h"
+
+#define CREATE_TRACE_POINTS
+#include "nfs4trace.h"
+