diff options
author | Wengang Wang <wen.gang.wang@oracle.com> | 2011-02-20 22:13:14 -0500 |
---|---|---|
committer | Tao Ma <boyu.mt@taobao.com> | 2011-02-20 22:13:14 -0500 |
commit | 80a9a84da381087ed89f5fdfc40a513cf9768ac4 (patch) | |
tree | 24dfa8596cbe21bd8f8a46a237a9d998913688a2 /fs/ocfs2/super.c | |
parent | c1e8d35ef5ffb393b94a192034b5e3541e005d75 (diff) |
ocfs2: Add ocfs2_trace.h.
About one year ago, Wengang Wang tried some first steps
to add tracepoints to ocfs2. Hiss original patch is here:
http://oss.oracle.com/pipermail/ocfs2-devel/2009-November/005512.html
But as Steven Rostedt indicated in his article
http://lwn.net/Articles/383362/, we'd better have our trace
files resides in fs/ocfs2, so I rewrited the patch using the
method Steven mentioned in that article.
Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 | ||