X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt-ring-buffer-client.h;h=30f0104fdc46728468f78ddb3c33b977178a87de;hb=7371f44c2c8ea6e60c0457671af008dd018c0b5f;hp=974a696f704465eaa6765f6befe2ba506321d817;hpb=eb9a7857efa6d55e347b81383a7948d72214e574;p=lttng-modules.git 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;