offset += sizeof(uint32_t); /* id */
offset += lib_ring_buffer_align(offset, ltt_alignof(uint64_t));
offset += sizeof(uint64_t); /* timestamp */
-
}
break;
default:
}
offset += ctx_get_size(offset, event->ctx);
offset += ctx_get_size(offset, ltt_chan->ctx);
- offset += ctx_get_size(offset, ltt_chan->session->ctx);
*pre_header_padding = padding;
return offset - orig_offset;
ctx_record(ctx, ltt_chan, event->ctx);
ctx_record(ctx, ltt_chan, ltt_chan->ctx);
- ctx_record(ctx, ltt_chan, ltt_chan->session->ctx);
return;
}
ctx_record(ctx, ltt_chan, event->ctx);
ctx_record(ctx, ltt_chan, ltt_chan->ctx);
- ctx_record(ctx, ltt_chan, ltt_chan->session->ctx);
}
static const struct lib_ring_buffer_config client_config;
void ltt_buffer_read_close(struct lib_ring_buffer *buf)
{
lib_ring_buffer_release_read(buf);
-
}
static