X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-ftrace.c;h=476d6bce8e50600e0a6691317e3fd39d044c1c1b;hb=f167620537b558f8fabd6912d4ea5c46a92cd877;hp=c18a4702c90be4d8df6ef06490b2445385ed7e4d;hpb=9e7e489272e646b39c51e3074de800e928bb5cec;p=lttng-modules.git diff --git a/probes/lttng-ftrace.c b/probes/lttng-ftrace.c index c18a4702..476d6bce 100644 --- a/probes/lttng-ftrace.c +++ b/probes/lttng-ftrace.c @@ -36,7 +36,7 @@ void lttng_ftrace_handler(unsigned long ip, unsigned long parent_ip, void **data if (!ACCESS_ONCE(chan->session->active)) return; - lib_ring_buffer_ctx_init(&ctx, chan->chan, NULL, + lib_ring_buffer_ctx_init(&ctx, chan->chan, event, sizeof(payload), ltt_alignof(payload), -1); ret = chan->ops->event_reserve(&ctx, event->id); if (ret < 0)