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

Mathieu Desnoyers
2011-05-02T22:04:20Z

[-- Attachment #1: trace-event-compaction-remove-semicolons.patch --]
[-- Type: text/plain, Size: 1532 bytes --]

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@efficios.com>
CC: Steven Rostedt <rostedt@goodmis.org>
CC: Frederic Weisbecker <fweisbec@gmail.com>
CC: Ingo Molnar <mingo@elte.hu>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Mel Gorman <mel@csn.ul.ie>
---
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 */