X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-ring-buffer-client.h;h=c3b77182c2b0223fec775a678d477a66cff60950;hb=49926dbd13cfcb46f6947b7e99bc2999c06dc743;hp=9cc862cf759166b1a4f57eafad4dc98aa72f5ac1;hpb=2b7080aa8c2481a3a316c98702884c902a01bde5;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ring-buffer-client.h b/liblttng-ust/lttng-ring-buffer-client.h index 9cc862cf..c3b77182 100644 --- a/liblttng-ust/lttng-ring-buffer-client.h +++ b/liblttng-ust/lttng-ring-buffer-client.h @@ -792,6 +792,7 @@ int lttng_flush_buffer(struct channel *chan, struct lttng_ust_shm_handle *handle static struct lttng_transport lttng_relay_transport = { .name = "relay-" RING_BUFFER_MODE_TEMPLATE_STRING "-mmap", .ops = { + .struct_size = sizeof(struct lttng_ust_channel_ops), .channel_create = _channel_create, .channel_destroy = lttng_channel_destroy, .event_reserve = lttng_event_reserve,