From da4e23320ee3bed6a19fe29c8a0b8b78387be7f3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 28 Jul 2011 10:50:15 -0400 Subject: [PATCH] Fix context order: stream before event Signed-off-by: Mathieu Desnoyers --- ltt-ring-buffer-client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltt-ring-buffer-client.h b/ltt-ring-buffer-client.h index 974a696f..30f0104f 100644 --- a/ltt-ring-buffer-client.h +++ b/ltt-ring-buffer-client.h @@ -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; -- 2.34.1