diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-07-30 12:38:46 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-07-30 12:38:46 -0400 |
commit | 59be8e7280c10fd8f078ba6dc2bcdc2b1453b6ab (patch) | |
tree | a740089c74c005869a0703c7fc0de664ea21cd33 /include/trace | |
parent | d59729f4e794f814b25ccd2aebfbe606242c4544 (diff) |
ext4: change umode_t in tracepoint headers to be an explicit __u16
As requested by Al Viro, since umode_t may be changing to a u32 for
some architectures.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/ext4.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/trace/events/ext4.h b/include/trace/events/ext4.h index 51d88139eb8c..bf5518d50423 100644 --- a/include/trace/events/ext4.h +++ b/include/trace/events/ext4.h | |||
@@ -23,7 +23,7 @@ TRACE_EVENT(ext4_free_inode, | |||
23 | TP_STRUCT__entry( | 23 | TP_STRUCT__entry( |
24 | __field( dev_t, dev ) | 24 | __field( dev_t, dev ) |
25 | __field( ino_t, ino ) | 25 | __field( ino_t, ino ) |
26 | __field( umode_t, mode ) | 26 | __field( __u16, mode ) |
27 | __field( uid_t, uid ) | 27 | __field( uid_t, uid ) |
28 | __field( gid_t, gid ) | 28 | __field( gid_t, gid ) |
29 | __field( __u64, blocks ) | 29 | __field( __u64, blocks ) |
@@ -52,7 +52,7 @@ TRACE_EVENT(ext4_request_inode, | |||
52 | TP_STRUCT__entry( | 52 | TP_STRUCT__entry( |
53 | __field( dev_t, dev ) | 53 | __field( dev_t, dev ) |
54 | __field( ino_t, dir ) | 54 | __field( ino_t, dir ) |
55 | __field( umode_t, mode ) | 55 | __field( __u16, mode ) |
56 | ), | 56 | ), |
57 | 57 | ||
58 | TP_fast_assign( | 58 | TP_fast_assign( |
@@ -75,7 +75,7 @@ TRACE_EVENT(ext4_allocate_inode, | |||
75 | __field( dev_t, dev ) | 75 | __field( dev_t, dev ) |
76 | __field( ino_t, ino ) | 76 | __field( ino_t, ino ) |
77 | __field( ino_t, dir ) | 77 | __field( ino_t, dir ) |
78 | __field( umode_t, mode ) | 78 | __field( __u16, mode ) |
79 | ), | 79 | ), |
80 | 80 | ||
81 | TP_fast_assign( | 81 | TP_fast_assign( |
@@ -727,7 +727,7 @@ TRACE_EVENT(ext4_free_blocks, | |||
727 | TP_STRUCT__entry( | 727 | TP_STRUCT__entry( |
728 | __field( dev_t, dev ) | 728 | __field( dev_t, dev ) |
729 | __field( ino_t, ino ) | 729 | __field( ino_t, ino ) |
730 | __field( umode_t, mode ) | 730 | __field( __u16, mode ) |
731 | __field( __u64, block ) | 731 | __field( __u64, block ) |
732 | __field( unsigned long, count ) | 732 | __field( unsigned long, count ) |
733 | __field( int, flags ) | 733 | __field( int, flags ) |
@@ -1014,7 +1014,7 @@ TRACE_EVENT(ext4_forget, | |||
1014 | TP_STRUCT__entry( | 1014 | TP_STRUCT__entry( |
1015 | __field( dev_t, dev ) | 1015 | __field( dev_t, dev ) |
1016 | __field( ino_t, ino ) | 1016 | __field( ino_t, ino ) |
1017 | __field( umode_t, mode ) | 1017 | __field( __u16, mode ) |
1018 | __field( int, is_metadata ) | 1018 | __field( int, is_metadata ) |
1019 | __field( __u64, block ) | 1019 | __field( __u64, block ) |
1020 | ), | 1020 | ), |
@@ -1041,7 +1041,7 @@ TRACE_EVENT(ext4_da_update_reserve_space, | |||
1041 | TP_STRUCT__entry( | 1041 | TP_STRUCT__entry( |
1042 | __field( dev_t, dev ) | 1042 | __field( dev_t, dev ) |
1043 | __field( ino_t, ino ) | 1043 | __field( ino_t, ino ) |
1044 | __field( umode_t, mode ) | 1044 | __field( __u16, mode ) |
1045 | __field( __u64, i_blocks ) | 1045 | __field( __u64, i_blocks ) |
1046 | __field( int, used_blocks ) | 1046 | __field( int, used_blocks ) |
1047 | __field( int, reserved_data_blocks ) | 1047 | __field( int, reserved_data_blocks ) |
@@ -1078,7 +1078,7 @@ TRACE_EVENT(ext4_da_reserve_space, | |||
1078 | TP_STRUCT__entry( | 1078 | TP_STRUCT__entry( |
1079 | __field( dev_t, dev ) | 1079 | __field( dev_t, dev ) |
1080 | __field( ino_t, ino ) | 1080 | __field( ino_t, ino ) |
1081 | __field( umode_t, mode ) | 1081 | __field( __u16, mode ) |
1082 | __field( __u64, i_blocks ) | 1082 | __field( __u64, i_blocks ) |
1083 | __field( int, md_needed ) | 1083 | __field( int, md_needed ) |
1084 | __field( int, reserved_data_blocks ) | 1084 | __field( int, reserved_data_blocks ) |
@@ -1112,7 +1112,7 @@ TRACE_EVENT(ext4_da_release_space, | |||
1112 | TP_STRUCT__entry( | 1112 | TP_STRUCT__entry( |
1113 | __field( dev_t, dev ) | 1113 | __field( dev_t, dev ) |
1114 | __field( ino_t, ino ) | 1114 | __field( ino_t, ino ) |
1115 | __field( umode_t, mode ) | 1115 | __field( __u16, mode ) |
1116 | __field( __u64, i_blocks ) | 1116 | __field( __u64, i_blocks ) |
1117 | __field( int, freed_blocks ) | 1117 | __field( int, freed_blocks ) |
1118 | __field( int, reserved_data_blocks ) | 1118 | __field( int, reserved_data_blocks ) |