X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fprobes%2Flttng-uprobes.c;h=20865889bd17084b7bcc72396f27a672ccb22b16;hb=b1199bd39f4b617b99518b72ceeea644b164b901;hp=233813f0d6231dceaaee0e9024aaed63f8ea5546;hpb=51ef453614a6db2b778595b16d93283d25db974a;p=lttng-modules.git diff --git a/src/probes/lttng-uprobes.c b/src/probes/lttng-uprobes.c index 233813f0..20865889 100644 --- a/src/probes/lttng-uprobes.c +++ b/src/probes/lttng-uprobes.c @@ -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, - sizeof(payload), lttng_alignof(payload), -1, <tng_probe_ctx); + lib_ring_buffer_ctx_init(&ctx, event_recorder, + sizeof(payload), lttng_alignof(payload), <tng_probe_ctx); ret = chan->ops->event_reserve(&ctx, event_recorder->priv->id); if (ret < 0)