aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2_trace.h
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-02-22 09:27:33 -0500
committerTao Ma <boyu.mt@taobao.com>2011-02-22 09:27:33 -0500
commita716357c47ea1cc4f535356cff2c39edd327136b (patch)
tree132f3e6114aac821e42f75e74ac92fe3e138ba5a /fs/ocfs2/ocfs2_trace.h
parent64f3b2692724fdbe72697b77887685b5bd3f4a3c (diff)
ocfs2: Remove masklog ML_EXTENT_MAP.
Remove mlog(0) from fs/ocfs2/extent_map.c and the masklog EXTENT_MAP. Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Diffstat (limited to 'fs/ocfs2/ocfs2_trace.h')
-rw-r--r--fs/ocfs2/ocfs2_trace.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2_trace.h b/fs/ocfs2/ocfs2_trace.h
index 052057a01ea8..a7938505227b 100644
--- a/fs/ocfs2/ocfs2_trace.h
+++ b/fs/ocfs2/ocfs2_trace.h
@@ -1490,6 +1490,35 @@ TRACE_EVENT(ocfs2_inode_revalidate,
1490DEFINE_OCFS2_ULL_EVENT(ocfs2_mark_inode_dirty); 1490DEFINE_OCFS2_ULL_EVENT(ocfs2_mark_inode_dirty);
1491 1491
1492/* End of trace events for fs/ocfs2/inode.c. */ 1492/* End of trace events for fs/ocfs2/inode.c. */
1493
1494/* Trace events for fs/ocfs2/extent_map.c. */
1495
1496TRACE_EVENT(ocfs2_read_virt_blocks,
1497 TP_PROTO(void *inode, unsigned long long vblock, int nr,
1498 void *bhs, unsigned int flags, void *validate),
1499 TP_ARGS(inode, vblock, nr, bhs, flags, validate),
1500 TP_STRUCT__entry(
1501 __field(void *, inode)
1502 __field(unsigned long long, vblock)
1503 __field(int, nr)
1504 __field(void *, bhs)
1505 __field(unsigned int, flags)
1506 __field(void *, validate)
1507 ),
1508 TP_fast_assign(
1509 __entry->inode = inode;
1510 __entry->vblock = vblock;
1511 __entry->nr = nr;
1512 __entry->bhs = bhs;
1513 __entry->flags = flags;
1514 __entry->validate = validate;
1515 ),
1516 TP_printk("%p %llu %d %p %x %p", __entry->inode, __entry->vblock,
1517 __entry->nr, __entry->bhs, __entry->flags, __entry->validate)
1518);
1519
1520/* End of trace events for fs/ocfs2/extent_map.c. */
1521
1493#endif /* _TRACE_OCFS2_H */ 1522#endif /* _TRACE_OCFS2_H */
1494 1523
1495/* This part must be outside protection */ 1524/* This part must be outside protection */