struct lttng_client_ctx *client_ctx)
{
struct lttng_channel *lttng_chan = channel_get_private(chan);
- struct lttng_event *event = ctx->priv;
+ struct lttng_ust_event_recorder *event_recorder = ctx->priv;
struct lttng_stack_ctx *lttng_ctx = ctx->priv2;
size_t orig_offset = offset;
size_t padding;
/* Pre 2.8 probe ABI. */
offset += ctx_get_aligned_size(offset, lttng_chan->ctx,
client_ctx->packet_context_len);
- offset += ctx_get_aligned_size(offset, event->ctx,
+ offset += ctx_get_aligned_size(offset, event_recorder->ctx,
client_ctx->event_context_len);
}
*pre_header_padding = padding;
uint32_t event_id)
{
struct lttng_channel *lttng_chan = channel_get_private(ctx->chan);
- struct lttng_event *event = ctx->priv;
+ struct lttng_ust_event_recorder *event_recorder = ctx->priv;
struct lttng_stack_ctx *lttng_ctx = ctx->priv2;
if (caa_unlikely(ctx->rflags))
} else {
/* Pre 2.8 probe ABI. */
ctx_record(ctx, lttng_chan, lttng_chan->ctx, APP_CTX_DISABLED);
- ctx_record(ctx, lttng_chan, event->ctx, APP_CTX_DISABLED);
+ ctx_record(ctx, lttng_chan, event_recorder->ctx, APP_CTX_DISABLED);
}
lib_ring_buffer_align_ctx(ctx, ctx->largest_align);
uint32_t event_id)
{
struct lttng_channel *lttng_chan = channel_get_private(ctx->chan);
- struct lttng_event *event = ctx->priv;
+ struct lttng_ust_event_recorder *event_recorder = ctx->priv;
struct lttng_stack_ctx *lttng_ctx = ctx->priv2;
switch (lttng_chan->header_type) {
} else {
/* Pre 2.8 probe ABI. */
ctx_record(ctx, lttng_chan, lttng_chan->ctx, APP_CTX_DISABLED);
- ctx_record(ctx, lttng_chan, event->ctx, APP_CTX_DISABLED);
+ ctx_record(ctx, lttng_chan, event_recorder->ctx, APP_CTX_DISABLED);
}
lib_ring_buffer_align_ctx(ctx, ctx->largest_align);
}
uint32_t event_id)
{
struct lttng_channel *lttng_chan = channel_get_private(ctx->chan);
- struct lttng_event *event = ctx->priv;
+ struct lttng_ust_event_recorder *event_recorder = ctx->priv;
struct lttng_stack_ctx *lttng_ctx = ctx->priv2;
struct lttng_client_ctx client_ctx;
int ret, cpu;
/* Pre 2.8 probe ABI. */
ctx_get_struct_size(lttng_chan->ctx, &client_ctx.packet_context_len,
APP_CTX_DISABLED);
- ctx_get_struct_size(event->ctx, &client_ctx.event_context_len,
+ ctx_get_struct_size(event_recorder->ctx, &client_ctx.event_context_len,
APP_CTX_DISABLED);
}