Fix context order: stream before event
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Jul 2011 14:50:15 +0000 (10:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Jul 2011 14:50:15 +0000 (10:50 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-ring-buffer-client.h

index 974a696f704465eaa6765f6befe2ba506321d817..30f0104fdc46728468f78ddb3c33b977178a87de 100644 (file)
@@ -198,8 +198,8 @@ void ltt_write_event_header(const struct lib_ring_buffer_config *config,
                WARN_ON_ONCE(1);
        }
 
-       ctx_record(ctx, ltt_chan, event->ctx);
        ctx_record(ctx, ltt_chan, ltt_chan->ctx);
+       ctx_record(ctx, ltt_chan, event->ctx);
 
        return;
 
@@ -261,8 +261,8 @@ void ltt_write_event_header_slow(const struct lib_ring_buffer_config *config,
        default:
                WARN_ON_ONCE(1);
        }
-       ctx_record(ctx, ltt_chan, event->ctx);
        ctx_record(ctx, ltt_chan, ltt_chan->ctx);
+       ctx_record(ctx, ltt_chan, event->ctx);
 }
 
 static const struct lib_ring_buffer_config client_config;
This page took 0.026613 seconds and 4 git commands to generate.