[PATCH 10/15] ftrace: fix event alignment: jbd2:*

From: David Sharp
Date: Fri Dec 03 2010 - 19:14:13 EST



Signed-off-by: David Sharp <dhsharp@xxxxxxxxxx>
---
include/trace/events/jbd2.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/trace/events/jbd2.h b/include/trace/events/jbd2.h
index 7447ea9..2f9f362 100644
--- a/include/trace/events/jbd2.h
+++ b/include/trace/events/jbd2.h
@@ -41,15 +41,15 @@ DECLARE_EVENT_CLASS(jbd2_commit,
TP_STRUCT__entry(
__field( int, dev_major )
__field( int, dev_minor )
- __field( char, sync_commit )
__field( int, transaction )
+ __field( char, sync_commit )
),

TP_fast_assign(
__entry->dev_major = MAJOR(journal->j_fs_dev->bd_dev);
__entry->dev_minor = MINOR(journal->j_fs_dev->bd_dev);
- __entry->sync_commit = commit_transaction->t_synchronous_commit;
__entry->transaction = commit_transaction->t_tid;
+ __entry->sync_commit = commit_transaction->t_synchronous_commit;
),

TP_printk("dev %d,%d transaction %d sync %d",
@@ -93,17 +93,17 @@ TRACE_EVENT(jbd2_end_commit,
TP_STRUCT__entry(
__field( int, dev_major )
__field( int, dev_minor )
- __field( char, sync_commit )
__field( int, transaction )
__field( int, head )
+ __field( char, sync_commit )
),

TP_fast_assign(
__entry->dev_major = MAJOR(journal->j_fs_dev->bd_dev);
__entry->dev_minor = MINOR(journal->j_fs_dev->bd_dev);
- __entry->sync_commit = commit_transaction->t_synchronous_commit;
__entry->transaction = commit_transaction->t_tid;
__entry->head = journal->j_tail_sequence;
+ __entry->sync_commit = commit_transaction->t_synchronous_commit;
),

TP_printk("dev %d,%d transaction %d sync %d head %d",
--
1.7.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/