ext4: translate flag bits to strings in tracepoints
Subsystems (2)
Theodore Ts'o
maintainerPATCH 1/1 ext4: translate flag bits to strings in tracepoints
Translate the bitfields used in various flags argument to strings to make the tracepoint output more human-readable.
Signed-off-by "Theodore Ts'o" <[email protected]>
--- fs/ext4/extents.c | 2 +- fs/ext4/indirect.c | 2 +- include/trace/events/ext4.h | 135 +++++++++++++++++++++++++++++++------------- 3 files changed, 98 insertions(+), 41 deletions(-)
fs/ext4/extents.c +1 -1
@@ -4380,7 +4380,7 @@ out2: } out3: -trace_ext4_ext_map_blocks_exit (inode, map, err ? err : allocated); +trace_ext4_ext_map_blocks_exit (inode, flags, map, err ? err : allocated);return err ? err : allocated; }
fs/ext4/indirect.c +1 -1
@@ -624,7 +624,7 @@ cleanup: partial--; } out: -trace_ext4_ind_map_blocks_exit (inode, map, err); +trace_ext4_ind_map_blocks_exit (inode, flags, map, err);return err; }
include/trace/events/ext4.h +96 -39
301 lines not on this page · raw message
Signature · 1 line
1.7.12.rc0.22.gcdd159b