tracing: flip the TP_printk and TP_fast_assign in the TRACE_EVENT macro
[linux-2.6-block.git] / include / trace / irq_event_types.h
index 43bcb74dd49f4272f4398d7ceef1de6acaf2dcf6..214bb928fe9e6d887131c35baef531a3e9a5352c 100644 (file)
@@ -31,13 +31,13 @@ TRACE_EVENT(irq_handler_exit,
                __field(        int,    ret     )
        ),
 
-       TP_printk("irq=%d return=%s",
-                 __entry->irq, __entry->ret ? "handled" : "unhandled"),
-
        TP_fast_assign(
                __entry->irq    = irq;
                __entry->ret    = ret;
-       )
+       ),
+
+       TP_printk("irq=%d return=%s",
+                 __entry->irq, __entry->ret ? "handled" : "unhandled")
 );
 
 #undef TRACE_SYSTEM