Commit 21ddd568 authored by Theodore Ts'o's avatar Theodore Ts'o

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent cb530541
...@@ -4380,7 +4380,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode, ...@@ -4380,7 +4380,7 @@ int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
} }
out3: 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; return err ? err : allocated;
} }
......
...@@ -624,7 +624,7 @@ int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, ...@@ -624,7 +624,7 @@ int ext4_ind_map_blocks(handle_t *handle, struct inode *inode,
partial--; partial--;
} }
out: out:
trace_ext4_ind_map_blocks_exit(inode, map, err); trace_ext4_ind_map_blocks_exit(inode, flags, map, err);
return err; return err;
} }
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment