[RFC patch 03/28] trace event bkl remove semicolons

From: Mathieu Desnoyers
Date: Sun Jan 09 2011 - 17:05:29 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>
---
include/trace/events/bkl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6-lttng/include/trace/events/bkl.h
===================================================================
--- linux-2.6-lttng.orig/include/trace/events/bkl.h
+++ linux-2.6-lttng/include/trace/events/bkl.h
@@ -29,7 +29,7 @@ TRACE_EVENT(lock_kernel,

TP_printk("depth=%d file:line=%s:%d func=%s()", __entry->depth,
__entry->file, __entry->line, __entry->func)
-);
+)

TRACE_EVENT(unlock_kernel,

@@ -53,7 +53,7 @@ TRACE_EVENT(unlock_kernel,

TP_printk("depth=%d file:line=%s:%d func=%s()", __entry->depth,
__entry->file, __entry->line, __entry->func)
-);
+)

#endif /* _TRACE_BKL_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/