summaryrefslogtreecommitdiff
path: root/fs/nfsd/trace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-08-16 19:02:22 -0500
committerChristoph Hellwig <hch@lst.de>2015-02-02 18:09:44 +0100
commit31ef83dc053835fc14741426e20c60dbbba8c13d (patch)
tree8c9a1cac8a5e29fa07b476d705d09ca0f79e40ee /fs/nfsd/trace.c
parent18d1aef89ec14dd2c4afaa80b7b1b3497aa188c7 (diff)
nfsd: add trace events
For now just a few simple events to trace the layout stateid lifetime, but these already were enough to find several bugs in the Linux client layout stateid handling. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfsd/trace.c')
-rw-r--r--fs/nfsd/trace.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/trace.c b/fs/nfsd/trace.c
new file mode 100644
index 000000000000..82f89070594c
--- /dev/null
+++ b/fs/nfsd/trace.c
@@ -0,0 +1,5 @@
+
+#include "state.h"
+
+#define CREATE_TRACE_POINTS
+#include "trace.h"