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

Mathieu Desnoyers
2011-01-09T22:05:24Z

[-- Attachment #1: trace-event-bkl-remove-semicolons.patch --]
[-- Type: text/plain, Size: 1071 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>
---
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 */