From: Andrew Gabbasov Date: Sun, 25 Nov 2012 21:11:33 +0000 (-0500) Subject: Remove remaining semicolons in TP_fast_assign blocks X-Git-Tag: v2.2.0-rc1~34 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=253be6ef8104b27e65fbd634adcaa3fd947a9efb;p=lttng-modules.git Remove remaining semicolons in TP_fast_assign blocks Signed-off-by: Andrew Gabbasov Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/jbd2.h b/instrumentation/events/lttng-module/jbd2.h index 91e2e6c0..c7992c0e 100644 --- a/instrumentation/events/lttng-module/jbd2.h +++ b/instrumentation/events/lttng-module/jbd2.h @@ -25,8 +25,8 @@ TRACE_EVENT(jbd2_checkpoint, ), TP_fast_assign( - tp_assign(dev, journal->j_fs_dev->bd_dev); - tp_assign(result, result); + tp_assign(dev, journal->j_fs_dev->bd_dev) + tp_assign(result, result) ), TP_printk("dev %d,%d result %d", @@ -46,9 +46,9 @@ DECLARE_EVENT_CLASS(jbd2_commit, ), TP_fast_assign( - tp_assign(dev, journal->j_fs_dev->bd_dev); - tp_assign(sync_commit, commit_transaction->t_synchronous_commit); - tp_assign(transaction, commit_transaction->t_tid); + tp_assign(dev, journal->j_fs_dev->bd_dev) + tp_assign(sync_commit, commit_transaction->t_synchronous_commit) + tp_assign(transaction, commit_transaction->t_tid) ), TP_printk("dev %d,%d transaction %d sync %d", @@ -97,10 +97,10 @@ TRACE_EVENT(jbd2_end_commit, ), TP_fast_assign( - tp_assign(dev, journal->j_fs_dev->bd_dev); - tp_assign(sync_commit, commit_transaction->t_synchronous_commit); - tp_assign(transaction, commit_transaction->t_tid); - tp_assign(head, journal->j_tail_sequence); + tp_assign(dev, journal->j_fs_dev->bd_dev) + tp_assign(sync_commit, commit_transaction->t_synchronous_commit) + tp_assign(transaction, commit_transaction->t_tid) + tp_assign(head, journal->j_tail_sequence) ), TP_printk("dev %d,%d transaction %d sync %d head %d", @@ -119,8 +119,8 @@ TRACE_EVENT(jbd2_submit_inode_data, ), TP_fast_assign( - tp_assign(dev, inode->i_sb->s_dev); - tp_assign(ino, inode->i_ino); + tp_assign(dev, inode->i_sb->s_dev) + tp_assign(ino, inode->i_ino) ), TP_printk("dev %d,%d ino %lu", diff --git a/instrumentation/events/lttng-module/sock.h b/instrumentation/events/lttng-module/sock.h index c4e689ad..b0c74114 100644 --- a/instrumentation/events/lttng-module/sock.h +++ b/instrumentation/events/lttng-module/sock.h @@ -48,7 +48,7 @@ TRACE_EVENT(sock_exceed_buf_limit, tp_assign(sysctl_mem, prot->sysctl_mem) tp_assign(allocated, allocated) tp_assign(sysctl_rmem, prot->sysctl_rmem[0]) - tp_assign(rmem_alloc, atomic_read(&sk->sk_rmem_alloc)); + tp_assign(rmem_alloc, atomic_read(&sk->sk_rmem_alloc)) ), TP_printk("proto:%s sysctl_mem=%ld,%ld,%ld allocated=%ld "