aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/ocfs2_trace.h16
-rw-r--r--fs/ocfs2/super.c3
2 files changed, 19 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2_trace.h b/fs/ocfs2/ocfs2_trace.h
new file mode 100644
index 000000000000..8d4e49aef491
--- /dev/null
+++ b/fs/ocfs2/ocfs2_trace.h
@@ -0,0 +1,16 @@
1#undef TRACE_SYSTEM
2#define TRACE_SYSTEM ocfs2
3
4#if !defined(_TRACE_OCFS2_H) || defined(TRACE_HEADER_MULTI_READ)
5#define _TRACE_OCFS2_H
6
7#include <linux/tracepoint.h>
8
9
10#endif /* _TRACE_OCFS2_H */
11
12/* This part must be outside protection */
13#undef TRACE_INCLUDE_PATH
14#define TRACE_INCLUDE_PATH .
15#define TRACE_INCLUDE_FILE ocfs2_trace
16#include <trace/define_trace.h>
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index b21b702c5603..f7e73a029844 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -42,6 +42,9 @@
42#include <linux/seq_file.h> 42#include <linux/seq_file.h>
43#include <linux/quotaops.h> 43#include <linux/quotaops.h>
44 44
45#define CREATE_TRACE_POINTS
46#include "ocfs2_trace.h"
47
45#define MLOG_MASK_PREFIX ML_SUPER 48#define MLOG_MASK_PREFIX ML_SUPER
46#include <cluster/masklog.h> 49#include <cluster/masklog.h>
47 50