diff options
author | Tao Ma <boyu.mt@taobao.com> | 2011-02-22 08:59:46 -0500 |
---|---|---|
committer | Tao Ma <boyu.mt@taobao.com> | 2011-02-22 08:59:46 -0500 |
commit | 614a9e849ca6ea24843795251cb30af525d5336b (patch) | |
tree | bf1344ab1a0d932c997b4e7646d062c290c7cedd /fs/ocfs2/ocfs2_trace.h | |
parent | 9558156bcf8e4750d20034e941213273743ed86a (diff) |
ocfs2: Remove FILE_IO from masklog.
Change all the "mlog(0," in fs/ocfs2/mmap.c to trace events.
And finally remove masklog FILE_IO.
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Diffstat (limited to 'fs/ocfs2/ocfs2_trace.h')
-rw-r--r-- | fs/ocfs2/ocfs2_trace.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2_trace.h b/fs/ocfs2/ocfs2_trace.h index 5958da57f8ff..77148e7a14f8 100644 --- a/fs/ocfs2/ocfs2_trace.h +++ b/fs/ocfs2/ocfs2_trace.h | |||
@@ -1092,6 +1092,31 @@ TRACE_EVENT(ocfs2_write_end_inline, | |||
1092 | ); | 1092 | ); |
1093 | 1093 | ||
1094 | /* End of trace events for fs/ocfs2/aops.c. */ | 1094 | /* End of trace events for fs/ocfs2/aops.c. */ |
1095 | |||
1096 | /* Trace events for fs/ocfs2/mmap.c. */ | ||
1097 | |||
1098 | TRACE_EVENT(ocfs2_fault, | ||
1099 | TP_PROTO(unsigned long long ino, | ||
1100 | void *area, void *page, unsigned long pgoff), | ||
1101 | TP_ARGS(ino, area, page, pgoff), | ||
1102 | TP_STRUCT__entry( | ||
1103 | __field(unsigned long long, ino) | ||
1104 | __field(void *, area) | ||
1105 | __field(void *, page) | ||
1106 | __field(unsigned long, pgoff) | ||
1107 | ), | ||
1108 | TP_fast_assign( | ||
1109 | __entry->ino = ino; | ||
1110 | __entry->area = area; | ||
1111 | __entry->page = page; | ||
1112 | __entry->pgoff = pgoff; | ||
1113 | ), | ||
1114 | TP_printk("%llu %p %p %lu", | ||
1115 | __entry->ino, __entry->area, __entry->page, __entry->pgoff) | ||
1116 | ); | ||
1117 | |||
1118 | /* End of trace events for fs/ocfs2/mmap.c. */ | ||
1119 | |||
1095 | #endif /* _TRACE_OCFS2_H */ | 1120 | #endif /* _TRACE_OCFS2_H */ |
1096 | 1121 | ||
1097 | /* This part must be outside protection */ | 1122 | /* This part must be outside protection */ |