jbd: Add fixed tracepoints
authorLukas Czerner <lczerner@redhat.com>
Mon, 23 May 2011 16:33:02 +0000 (18:33 +0200)
committerJan Kara <jack@suse.cz>
Sat, 25 Jun 2011 15:29:51 +0000 (17:29 +0200)
commit99cb1a318c37bf462c53d43f4dacb7b4896ce0c9
tree32a9046649777e8cc589bbc8e0afb382642ba450
parent785c4bcc0d88ff006a0b2120815a71e86ecf21ce
jbd: Add fixed tracepoints

This commit adds fixed tracepoint for jbd. It has been based on fixed
tracepoints for jbd2, however there are missing those for collecting
statistics, since I think that it will require more intrusive patch so I
should have its own commit, if someone decide that it is needed. Also
there are new tracepoints in __journal_drop_transaction() and
journal_update_superblock().

The list of jbd tracepoints:

jbd_checkpoint
jbd_start_commit
jbd_commit_locking
jbd_commit_flushing
jbd_commit_logging
jbd_drop_transaction
jbd_end_commit
jbd_do_submit_data
jbd_cleanup_journal_tail
jbd_update_superblock_end

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/jbd/checkpoint.c
fs/jbd/commit.c
fs/jbd/journal.c
include/trace/events/jbd.h [new file with mode: 0644]