Refactor struct lttng_ust_lib_ring_buffer_ctx
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index e7ce1f887a5d3b85d896c1c4a264b81ebfd639d2..0d2d1176d9c3ea8b722f2320d9ab571b4fe00f64 100644 (file)
@@ -1349,7 +1349,7 @@ int ustctl_write_metadata_to_channel(
                                chan->ops->packet_avail_size(chan->chan, chan->handle),
                                len - pos);
                lib_ring_buffer_ctx_init(&ctx, chan->chan, NULL, reserve_len,
-                                        sizeof(char), -1, chan->handle, NULL);
+                                        sizeof(char), -1, chan->handle);
                /*
                 * We don't care about metadata buffer's records lost
                 * count, because we always retry here. Report error if
@@ -1396,7 +1396,7 @@ ssize_t ustctl_write_one_packet_to_channel(
                        chan->ops->packet_avail_size(chan->chan, chan->handle),
                        len);
        lib_ring_buffer_ctx_init(&ctx, chan->chan, NULL, reserve_len,
-                       sizeof(char), -1, chan->handle, NULL);
+                       sizeof(char), -1, chan->handle);
        ret = chan->ops->event_reserve(&ctx, 0);
        if (ret != 0) {
                DBG("LTTng: event reservation failed");
This page took 0.022843 seconds and 4 git commands to generate.