Messages in this thread Patch in this message | | | Date | Tue, 03 May 2011 19:10:53 -0400 | From | Mathieu Desnoyers <> | Subject | [RFC patch 30/32] trace event compaction remove semicolons |
| |
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 */
| |