X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-kprobes.c;h=89cfe07364779f6a2094979b16c6f039252fac89;hb=f167620537b558f8fabd6912d4ea5c46a92cd877;hp=481807de92a2796a36a1033fec6189ca7e2a97ff;hpb=9e7e489272e646b39c51e3074de800e928bb5cec;p=lttng-modules.git diff --git a/probes/lttng-kprobes.c b/probes/lttng-kprobes.c index 481807de..89cfe073 100644 --- a/probes/lttng-kprobes.c +++ b/probes/lttng-kprobes.c @@ -27,7 +27,7 @@ int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs) if (!ACCESS_ONCE(chan->session->active)) return 0; - lib_ring_buffer_ctx_init(&ctx, chan->chan, NULL, sizeof(data), + lib_ring_buffer_ctx_init(&ctx, chan->chan, event, sizeof(data), ltt_alignof(data), -1); ret = chan->ops->event_reserve(&ctx, event->id); if (ret < 0)