summaryrefslogtreecommitdiffstats
path: root/kernel/fs/nfs/nfs4trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/nfs/nfs4trace.c')
-rw-r--r--kernel/fs/nfs/nfs4trace.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/fs/nfs/nfs4trace.c b/kernel/fs/nfs/nfs4trace.c
new file mode 100644
index 000000000..d774335cc
--- /dev/null
+++ b/kernel/fs/nfs/nfs4trace.c
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2013 Trond Myklebust <Trond.Myklebust@netapp.com>
+ */
+#include <linux/nfs_fs.h>
+#include "nfs4_fs.h"
+#include "internal.h"
+#include "nfs4session.h"
+#include "callback.h"
+
+#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