Write context fields into trace
[lttng-modules.git] / probes / lttng-kprobes.c
index 481807de92a2796a36a1033fec6189ca7e2a97ff..89cfe07364779f6a2094979b16c6f039252fac89 100644 (file)
@@ -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)
This page took 0.038628 seconds and 4 git commands to generate.