Remove semicolons in TP_fast_assign blocks
[lttng-modules.git] / instrumentation / events / lttng-module / lock.h
index 75101f69e22972404ea5cbe23af6c7d7ea6a7391..e2c1c7a4a310792f5f687784a6da06b2a6e7e571 100644 (file)
@@ -24,9 +24,9 @@ TRACE_EVENT(lock_acquire,
        ),
 
        TP_fast_assign(
-               tp_assign(flags, (trylock ? 1 : 0) | (read ? 2 : 0));
-               tp_strcpy(name, lock->name);
-               tp_assign(lockdep_addr, lock);
+               tp_assign(flags, (trylock ? 1 : 0) | (read ? 2 : 0))
+               tp_strcpy(name, lock->name)
+               tp_assign(lockdep_addr, lock)
        ),
 
        TP_printk("%p %s%s%s", __entry->lockdep_addr,
@@ -47,8 +47,8 @@ DECLARE_EVENT_CLASS(lock,
        ),
 
        TP_fast_assign(
-               tp_strcpy(name, lock->name);
-               tp_assign(lockdep_addr, lock);
+               tp_strcpy(name, lock->name)
+               tp_assign(lockdep_addr, lock)
        ),
 
        TP_printk("%p %s",  __entry->lockdep_addr, __get_str(name))
This page took 0.023118 seconds and 4 git commands to generate.