summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4trace.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-14 21:31:28 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-22 14:58:26 +0200
commitcc668ab30b8a5505c1651b073882c1a67c802a48 (patch)
tree32caf9dab1ba04fcd6ac5ed36215bf7b845c3212 /fs/nfs/nfs4trace.c
parentNFSv4: Add tracepoints for debugging getattr (diff)
downloadlinux-cc668ab30b8a5505c1651b073882c1a67c802a48.tar.xz
linux-cc668ab30b8a5505c1651b073882c1a67c802a48.zip
NFSv4: Add tracepoints for debugging reads and writes
Set up tracepoints to track read, write and commit, as well as pNFS reads and writes and commits to the data server. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4trace.c')
-rw-r--r--fs/nfs/nfs4trace.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfs/nfs4trace.c b/fs/nfs/nfs4trace.c
index 3f0218365fc7..f8409743c5c5 100644
--- a/fs/nfs/nfs4trace.c
+++ b/fs/nfs/nfs4trace.c
@@ -8,3 +8,8 @@
#define CREATE_TRACE_POINTS
#include "nfs4trace.h"
+#ifdef CONFIG_NFS_V4_1
+EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_read);
+EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_write);
+EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_commit_ds);
+#endif