summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4trace.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-09 11:51:26 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-22 08:58:21 -0400
commitc6d01c6f9bf94075a726b3103a7e90d981017326 (patch)
treed8631119b8a434e212f9944a91eb0fdb32915b0b /fs/nfs/nfs4trace.c
parent1fd1085b49f8cafbd0ce4e4682c209a31f7b287f (diff)
downloadblackbird-op-linux-c6d01c6f9bf94075a726b3103a7e90d981017326.tar.gz
blackbird-op-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"
+
OpenPOWER on IntegriCloud