[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1291421609-14665-11-git-send-email-dhsharp@google.com>
Date: Fri, 3 Dec 2010 16:13:24 -0800
From: David Sharp <dhsharp@...gle.com>
To: rostedt@...dmis.org, linux-kernel@...r.kernel.org
Cc: mrubin@...gle.com, David Sharp <dhsharp@...gle.com>
Subject: [PATCH 10/15] ftrace: fix event alignment: jbd2:*
Signed-off-by: David Sharp <dhsharp@...gle.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists