2 #define TRACE_SYSTEM ext3
4 #if !defined(_TRACE_EXT3_H) || defined(TRACE_HEADER_MULTI_READ)
27 __entry->uid = i_uid_read(inode);
28 __entry->gid = i_gid_read(inode);
32 TP_printk(
"dev %d,%d ino %lu mode 0%o uid %u gid %u blocks %lu",
36 (
unsigned long)
__entry->blocks)
62 TP_PROTO(
struct inode *inode,
struct inode *dir,
int mode),
80 TP_printk(
"dev %d,%d ino %lu dir %lu mode 0%o",
109 TP_PROTO(
struct inode *inode,
int drop),
131 TP_PROTO(
struct inode *inode,
unsigned long IP),
147 TP_printk(
"dev %d,%d ino %lu caller %pF",
153 TP_PROTO(
struct inode *inode, loff_t
pos,
unsigned int len,
156 TP_ARGS(inode, pos, len, flags),
174 TP_printk(
"dev %d,%d ino %lu pos %llu len %u flags %u",
182 TP_PROTO(
struct inode *inode, loff_t pos,
unsigned int len,
183 unsigned int copied),
185 TP_ARGS(inode, pos, len, copied),
192 __field(
unsigned int, copied )
203 TP_printk(
"dev %d,%d ino %lu pos %llu len %u copied %u",
212 TP_PROTO(
struct inode *inode, loff_t pos,
unsigned int len,
213 unsigned int copied),
215 TP_ARGS(inode, pos, len, copied)
220 TP_PROTO(
struct inode *inode, loff_t pos,
unsigned int len,
221 unsigned int copied),
223 TP_ARGS(inode, pos, len, copied)
226 DEFINE_EVENT(ext3__write_end, ext3_journalled_write_end,
228 TP_PROTO(
struct inode *inode, loff_t pos,
unsigned int len,
229 unsigned int copied),
231 TP_ARGS(inode, pos, len, copied)
252 TP_printk(
"dev %d,%d ino %lu page_index %lu",
299 __field(
unsigned long, offset )
312 TP_printk(
"dev %d,%d ino %lu page_index %lu offset %lu",
320 unsigned long count),
327 __field(
unsigned long, count )
343 TP_PROTO(
struct inode *inode,
unsigned long goal,
344 unsigned long count),
351 __field(
unsigned long, count )
362 TP_printk(
"dev %d,%d ino %lu count %lu goal %lu ",
369 TP_PROTO(
struct inode *inode,
unsigned long goal,
370 unsigned long count,
unsigned long block),
372 TP_ARGS(inode, goal, count, block),
377 __field(
unsigned long, block )
378 __field(
unsigned long, count )
390 TP_printk(
"dev %d,%d ino %lu count %lu block %lu goal %lu",
398 TP_PROTO(
struct inode *inode,
unsigned long block,
399 unsigned long count),
407 __field(
unsigned long, block )
408 __field(
unsigned long, count )
419 TP_printk(
"dev %d,%d ino %lu mode 0%o block %lu count %lu",
446 TP_printk(
"dev %d,%d ino %lu parent %ld datasync %d ",
539 TP_printk(
"dev %d,%d ino %lu start %lu end %lu",
572 __field(
unsigned long, block )
585 TP_printk(
"dev %d,%d block %lu, start %lu end %lu",
591 TP_PROTO(
struct inode *inode,
int is_metadata,
unsigned long block),
593 TP_ARGS(inode, is_metadata, block),
600 __field(
unsigned long, block )
607 __entry->is_metadata = is_metadata;
611 TP_printk(
"dev %d,%d ino %lu mode 0%o is_metadata %d block %lu",
639 TP_PROTO(
struct inode *inode, loff_t offset,
unsigned long len,
int rw),
641 TP_ARGS(inode, offset, len, rw),
659 TP_printk(
"dev %d,%d ino %lu pos %llu len %lu rw %d",
667 TP_PROTO(
struct inode *inode, loff_t offset,
unsigned long len,
670 TP_ARGS(inode, offset, len, rw, ret),
690 TP_printk(
"dev %d,%d ino %lu pos %llu len %lu rw %d ret %d",
716 TP_printk(
"dev %d,%d ino %lu size %lld parent %ld",
719 (
unsigned long long)
__entry->size,
720 (
unsigned long)
__entry->parent)
724 TP_PROTO(
struct dentry *dentry,
int ret),
763 TP_printk(
"dev %d,%d ino %lu blocks %lu",
783 TP_PROTO(
struct inode *inode,
unsigned long lblk,
784 unsigned long len,
int create),
786 TP_ARGS(inode, lblk, len, create),
804 TP_printk(
"dev %d,%d ino %lu lblk %lu len %lu create %u",
811 TP_PROTO(
struct inode *inode,
unsigned long lblk,
812 unsigned long pblk,
unsigned long len,
int ret),
814 TP_ARGS(inode, lblk, pblk, len, ret),
834 TP_printk(
"dev %d,%d ino %lu lblk %lu pblk %lu len %lu ret %d",