lkml.org 
[lkml]   [2010]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 10/15] ftrace: fix event alignment: jbd2:*
From
Date
[ Ccing Ted for Acked-by ]

-- Steve


On Fri, 2010-12-03 at 16:13 -0800, David Sharp wrote:
> Signed-off-by: David Sharp <dhsharp@google.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",




\
 
 \ /
  Last update: 2010-12-04 02:55    [W:0.285 / U:2.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site