From 1ea172a1367c416716fa046289d25694f53ce599 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 28 Jul 2011 10:52:04 -0400 Subject: [PATCH] Fix context order Signed-off-by: Mathieu Desnoyers --- libust/ltt-ring-buffer-client.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libust/ltt-ring-buffer-client.h b/libust/ltt-ring-buffer-client.h index c7496bfd..4a9318c2 100644 --- a/libust/ltt-ring-buffer-client.h +++ b/libust/ltt-ring-buffer-client.h @@ -9,9 +9,9 @@ */ #include +#include #include "ust/bitfield.h" #include "ust/clock.h" -#include "ltt-events.h" #include "ltt-tracer.h" #include "../libringbuffer/frontend_types.h" @@ -196,8 +196,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; @@ -259,8 +259,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