[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1291427578.16223.12.camel@gandalf.stny.rr.com>
Date: Fri, 03 Dec 2010 20:52:58 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: David Sharp <dhsharp@...gle.com>
Cc: linux-kernel@...r.kernel.org, mrubin@...gle.com,
Theodore Ts'o <tytso@....edu>
Subject: Re: [PATCH 10/15] ftrace: fix event alignment: jbd2:*
[ Ccing Ted for Acked-by ]
-- Steve
On Fri, 2010-12-03 at 16:13 -0800, David Sharp wrote:
> 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",
--
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