diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-14 23:31:28 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-22 16:58:26 +0400 |
commit | cc668ab30b8a5505c1651b073882c1a67c802a48 (patch) | |
tree | 32caf9dab1ba04fcd6ac5ed36215bf7b845c3212 /fs/nfs/nfs4trace.c | |
parent | b5f875a92591d06c57e786b3c916e21e290ad844 (diff) | |
download | linux-cc668ab30b8a5505c1651b073882c1a67c802a48.tar.xz |
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.c | 5 |
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 |