aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events/ext4.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/ext4.h')
-rw-r--r--include/trace/events/ext4.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/trace/events/ext4.h b/include/trace/events/ext4.h
index b390e1fc4a7b..74f628bfdd1b 100644
--- a/include/trace/events/ext4.h
+++ b/include/trace/events/ext4.h
@@ -650,30 +650,32 @@ TRACE_EVENT(ext4_allocate_blocks,
650 650
651TRACE_EVENT(ext4_free_blocks, 651TRACE_EVENT(ext4_free_blocks,
652 TP_PROTO(struct inode *inode, __u64 block, unsigned long count, 652 TP_PROTO(struct inode *inode, __u64 block, unsigned long count,
653 int metadata), 653 int flags),
654 654
655 TP_ARGS(inode, block, count, metadata), 655 TP_ARGS(inode, block, count, flags),
656 656
657 TP_STRUCT__entry( 657 TP_STRUCT__entry(
658 __field( dev_t, dev ) 658 __field( dev_t, dev )
659 __field( ino_t, ino ) 659 __field( ino_t, ino )
660 __field( umode_t, mode )
660 __field( __u64, block ) 661 __field( __u64, block )
661 __field( unsigned long, count ) 662 __field( unsigned long, count )
662 __field( int, metadata ) 663 __field( int, flags )
663
664 ), 664 ),
665 665
666 TP_fast_assign( 666 TP_fast_assign(
667 __entry->dev = inode->i_sb->s_dev; 667 __entry->dev = inode->i_sb->s_dev;
668 __entry->ino = inode->i_ino; 668 __entry->ino = inode->i_ino;
669 __entry->mode = inode->i_mode;
669 __entry->block = block; 670 __entry->block = block;
670 __entry->count = count; 671 __entry->count = count;
671 __entry->metadata = metadata; 672 __entry->flags = flags;
672 ), 673 ),
673 674
674 TP_printk("dev %s ino %lu block %llu count %lu metadata %d", 675 TP_printk("dev %s ino %lu mode 0%o block %llu count %lu flags %d",
675 jbd2_dev_to_name(__entry->dev), (unsigned long) __entry->ino, 676 jbd2_dev_to_name(__entry->dev), (unsigned long) __entry->ino,
676 __entry->block, __entry->count, __entry->metadata) 677 __entry->mode, __entry->block, __entry->count,
678 __entry->flags)
677); 679);
678 680
679TRACE_EVENT(ext4_sync_file, 681TRACE_EVENT(ext4_sync_file,