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 CC: Steven Rostedt CC: Frederic Weisbecker CC: Ingo Molnar CC: Thomas Gleixner CC: Peter Zijlstra --- include/trace/events/lock.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Index: linux-2.6-lttng/include/trace/events/lock.h =================================================================== --- linux-2.6-lttng.orig/include/trace/events/lock.h +++ linux-2.6-lttng/include/trace/events/lock.h @@ -33,7 +33,7 @@ TRACE_EVENT(lock_acquire, (__entry->flags & 1) ? "try " : "", (__entry->flags & 2) ? "read " : "", __get_str(name)) -); +) DECLARE_EVENT_CLASS(lock, @@ -52,14 +52,14 @@ DECLARE_EVENT_CLASS(lock, ), TP_printk("%p %s", __entry->lockdep_addr, __get_str(name)) -); +) DEFINE_EVENT(lock, lock_release, TP_PROTO(struct lockdep_map *lock, unsigned long ip), TP_ARGS(lock, ip) -); +) #ifdef CONFIG_LOCK_STAT @@ -68,14 +68,14 @@ DEFINE_EVENT(lock, lock_contended, TP_PROTO(struct lockdep_map *lock, unsigned long ip), TP_ARGS(lock, ip) -); +) DEFINE_EVENT(lock, lock_acquired, TP_PROTO(struct lockdep_map *lock, unsigned long ip), TP_ARGS(lock, ip) -); +) #endif #endif -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/