From 060cefcd8c2c2ccc69cad0ba7711db80ff1b70d6 Mon Sep 17 00:00:00 2001 From: Wengang Wang Date: Mon, 21 Feb 2011 11:13:14 +0800 Subject: [PATCH] --- yaml --- r: 242999 b: refs/heads/master c: 80a9a84da381087ed89f5fdfc40a513cf9768ac4 h: refs/heads/master i: 242997: fee477920d59b5c3b0c3998c9a1f7fb1f5eeeb0d 242995: 74ead604aad66e9aacda9a53a05faea980e00ac2 242991: 658d59c06f4a766ae3872054f2d057c000e4830e v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/ocfs2_trace.h | 16 ++++++++++++++++ trunk/fs/ocfs2/super.c | 3 +++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 trunk/fs/ocfs2/ocfs2_trace.h diff --git a/[refs] b/[refs] index 839e3eeeea3a..9717bc56a87c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c1e8d35ef5ffb393b94a192034b5e3541e005d75 +refs/heads/master: 80a9a84da381087ed89f5fdfc40a513cf9768ac4 diff --git a/trunk/fs/ocfs2/ocfs2_trace.h b/trunk/fs/ocfs2/ocfs2_trace.h new file mode 100644 index 000000000000..8d4e49aef491 --- /dev/null +++ b/trunk/fs/ocfs2/ocfs2_trace.h @@ -0,0 +1,16 @@ +#undef TRACE_SYSTEM +#define TRACE_SYSTEM ocfs2 + +#if !defined(_TRACE_OCFS2_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_OCFS2_H + +#include + + +#endif /* _TRACE_OCFS2_H */ + +/* This part must be outside protection */ +#undef TRACE_INCLUDE_PATH +#define TRACE_INCLUDE_PATH . +#define TRACE_INCLUDE_FILE ocfs2_trace +#include diff --git a/trunk/fs/ocfs2/super.c b/trunk/fs/ocfs2/super.c index b21b702c5603..f7e73a029844 100644 --- a/trunk/fs/ocfs2/super.c +++ b/trunk/fs/ocfs2/super.c @@ -42,6 +42,9 @@ #include #include +#define CREATE_TRACE_POINTS +#include "ocfs2_trace.h" + #define MLOG_MASK_PREFIX ML_SUPER #include