[RFC patch 30/32] trace event compaction remove semicolons

From: Mathieu Desnoyers
Date: Tue May 03 2011 - 19:17:17 EST


Part of the gradual TRACE_EVENT() semicolon removal. Enables creation of array
of events, thus saving space for trace event probes.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
CC: Steven Rostedt <rostedt@xxxxxxxxxxx>
CC: Frederic Weisbecker <fweisbec@xxxxxxxxx>
CC: Ingo Molnar <mingo@xxxxxxx>
CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CC: Mel Gorman <mel@xxxxxxxxx>
---
include/trace/events/compaction.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Index: linux-2.6-lttng/include/trace/events/compaction.h
===================================================================
--- linux-2.6-lttng.orig/include/trace/events/compaction.h
+++ linux-2.6-lttng/include/trace/events/compaction.h
@@ -28,7 +28,7 @@ DECLARE_EVENT_CLASS(mm_compaction_isolat
TP_printk("nr_scanned=%lu nr_taken=%lu",
__entry->nr_scanned,
__entry->nr_taken)
-);
+)

DEFINE_EVENT(mm_compaction_isolate_template, mm_compaction_isolate_migratepages,

@@ -36,14 +36,14 @@ DEFINE_EVENT(mm_compaction_isolate_templ
unsigned long nr_taken),

TP_ARGS(nr_scanned, nr_taken)
-);
+)

DEFINE_EVENT(mm_compaction_isolate_template, mm_compaction_isolate_freepages,
TP_PROTO(unsigned long nr_scanned,
unsigned long nr_taken),

TP_ARGS(nr_scanned, nr_taken)
-);
+)

TRACE_EVENT(mm_compaction_migratepages,

@@ -65,7 +65,7 @@ TRACE_EVENT(mm_compaction_migratepages,
TP_printk("nr_migrated=%lu nr_failed=%lu",
__entry->nr_migrated,
__entry->nr_failed)
-);
+)


#endif /* _TRACE_COMPACTION_H */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/