Move probe_ctx argument to align with lttng-ust
[lttng-modules.git] / src / probes / lttng-uprobes.c
index 2507f43418c1cae6fcd1f75a10b7eb9c0ca84ae5..233813f0d6231dceaaee0e9024aaed63f8ea5546 100644 (file)
@@ -68,8 +68,8 @@ int lttng_uprobes_event_handler_pre(struct uprobe_consumer *uc, struct pt_regs *
                struct lib_ring_buffer_ctx ctx;
                int ret;
 
-               lib_ring_buffer_ctx_init(&ctx, chan->chan, &lttng_probe_ctx,
-                       sizeof(payload), lttng_alignof(payload), -1);
+               lib_ring_buffer_ctx_init(&ctx, chan->chan,
+                       sizeof(payload), lttng_alignof(payload), -1, &lttng_probe_ctx);
 
                ret = chan->ops->event_reserve(&ctx, event_recorder->priv->id);
                if (ret < 0)
This page took 0.023242 seconds and 4 git commands to generate.