ext4: add more tracepoints and use dev_t in the trace buffer
authorJiaying Zhang <jiayingz@google.com>
Tue, 22 Mar 2011 01:38:05 +0000 (21:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 22 Mar 2011 01:38:05 +0000 (21:38 -0400)
commit0562e0bad483d10e9651fbb8f21dc3d0bad57374
tree19f6597f92c028badcb6df360ccac22240378e25
parent4596fe07679ff0fae904515691ea747467614871
ext4: add more tracepoints and use dev_t in the trace buffer

- Add more ext4 tracepoints.
- Change ext4 tracepoints to use dev_t field with MAJOR/MINOR macros
so that we can save 4 bytes in the ring buffer on some platforms.
- Add sync_mode to ext4_da_writepages, ext4_da_write_pages, and
ext4_da_writepages_result tracepoints. Also remove for_reclaim
field from ext4_da_writepages since it is usually not very useful.

Signed-off-by: Jiaying Zhang <jiayingz@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c
fs/ext4/extents.c
fs/ext4/fsync.c
fs/ext4/ialloc.c
fs/ext4/inode.c
fs/ext4/namei.c
include/trace/events/ext4.h
include/trace/events/jbd2.h