summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4trace.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-14 15:31:28 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-22 08:58:26 -0400
commitcc668ab30b8a5505c1651b073882c1a67c802a48 (patch)
tree32caf9dab1ba04fcd6ac5ed36215bf7b845c3212 /fs/nfs/nfs4trace.c
parentb5f875a92591d06c57e786b3c916e21e290ad844 (diff)
downloadlinux-cc668ab30b8a5505c1651b073882c1a67c802a48.tar.bz2
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