From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753396Ab1ECXSK (ORCPT ); Tue, 3 May 2011 19:18:10 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:54725 "EHLO smtp.polymtl.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754402Ab1ECXOx (ORCPT ); Tue, 3 May 2011 19:14:53 -0400 Message-Id: <20110503231428.411356733@efficios.com> User-Agent: quilt/0.48-1 Date: Tue, 03 May 2011 19:10:49 -0400 From: Mathieu Desnoyers To: LKML , Steven Rostedt Cc: Thomas Gleixner , Frederic Weisbecker , Ingo Molnar , Mathieu Desnoyers , Steven Whitehouse Subject: [RFC patch 26/32] trace event gfs2 remove semicolons References: <20110503231023.968960757@efficios.com> Content-Disposition: inline; filename=trace-event-gfs2-remove-semicolons.patch X-Poly-FromMTA: (test.dorsal.polymtl.ca [132.207.72.60]) at Tue, 3 May 2011 23:14:28 +0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Part of the gradual TRACE_EVENT() semicolon removal. Enables creation of array of events, thus saving space for trace event probes. Remove extra trailing semicolons at the end of GFS2 trace event declarations. Note (from Steven Whitehouse): there is a new tracepoint for GFS2 currently awaiting the next merge window in the GFS2 -nmw git tree, so that will need to be patched too. Signed-off-by: Mathieu Desnoyers Acked-by: Steven Whitehouse CC: Steven Rostedt CC: Frederic Weisbecker CC: Ingo Molnar CC: Thomas Gleixner --- fs/gfs2/trace_gfs2.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) Index: linux-2.6-lttng/fs/gfs2/trace_gfs2.h =================================================================== --- linux-2.6-lttng.orig/fs/gfs2/trace_gfs2.h +++ linux-2.6-lttng/fs/gfs2/trace_gfs2.h @@ -105,7 +105,7 @@ TRACE_EVENT(gfs2_glock_state_change, glock_trace_name(__entry->tgt_state), glock_trace_name(__entry->dmt_state), show_glock_flags(__entry->flags)) -); +) /* State change -> unlocked, glock is being deallocated */ TRACE_EVENT(gfs2_glock_put, @@ -137,7 +137,7 @@ TRACE_EVENT(gfs2_glock_put, glock_trace_name(DLM_LOCK_IV), show_glock_flags(__entry->flags)) -); +) /* Callback (local or remote) requesting lock demotion */ TRACE_EVENT(gfs2_demote_rq, @@ -171,7 +171,7 @@ TRACE_EVENT(gfs2_demote_rq, glock_trace_name(__entry->dmt_state), show_glock_flags(__entry->flags)) -); +) /* Promotion/grant of a glock */ TRACE_EVENT(gfs2_promote, @@ -201,7 +201,7 @@ TRACE_EVENT(gfs2_promote, (unsigned long long)__entry->glnum, __entry->first ? "first": "other", glock_trace_name(__entry->state)) -); +) /* Queue/dequeue a lock request */ TRACE_EVENT(gfs2_glock_queue, @@ -231,7 +231,7 @@ TRACE_EVENT(gfs2_glock_queue, (unsigned long long)__entry->glnum, __entry->queue ? "" : "de", glock_trace_name(__entry->state)) -); +) /* Section 2 - Log/journal * @@ -270,7 +270,7 @@ TRACE_EVENT(gfs2_pin, (unsigned long long)__entry->block, (unsigned long)__entry->len, (unsigned long long)__entry->ino) -); +) /* Flushing the log */ TRACE_EVENT(gfs2_log_flush, @@ -295,7 +295,7 @@ TRACE_EVENT(gfs2_log_flush, MAJOR(__entry->dev), MINOR(__entry->dev), __entry->start ? "start" : "end", (unsigned long long)__entry->log_seq) -); +) /* Reserving/releasing blocks in the log */ TRACE_EVENT(gfs2_log_blocks, @@ -316,7 +316,7 @@ TRACE_EVENT(gfs2_log_blocks, TP_printk("%u,%u log reserve %d", MAJOR(__entry->dev), MINOR(__entry->dev), __entry->blocks) -); +) /* Section 3 - bmap * @@ -364,7 +364,7 @@ TRACE_EVENT(gfs2_bmap, (unsigned long long)__entry->pblock, __entry->state, __entry->create ? "create " : "nocreate", __entry->errno) -); +) /* Keep track of blocks as they are allocated/freed */ TRACE_EVENT(gfs2_block_alloc, @@ -396,7 +396,7 @@ TRACE_EVENT(gfs2_block_alloc, (unsigned long long)__entry->start, (unsigned long)__entry->len, block_state_name(__entry->block_state)) -); +) #endif /* _TRACE_GFS2_H */