X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-kprobes.c;h=65c1d3ba80ecf30eedbe8ccf1402c81ab4864998;hb=4e1f08f47c1837b09af74712c299c5169496591a;hp=87806e37240695b6d2452b9e39d22a3f482769f7;hpb=05d32c64199816da32cd95929a8ff0d0d38d7f60;p=lttng-modules.git diff --git a/probes/lttng-kprobes.c b/probes/lttng-kprobes.c index 87806e37..65c1d3ba 100644 --- a/probes/lttng-kprobes.c +++ b/probes/lttng-kprobes.c @@ -29,7 +29,7 @@ int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs) return 0; lib_ring_buffer_ctx_init(&ctx, chan->chan, NULL, sizeof(data), ltt_alignof(data), -1); - ret = chan->ops->event_reserve(&ctx); + ret = chan->ops->event_reserve(&ctx, event->id); if (ret < 0) return 0; lib_ring_buffer_align_ctx(&ctx, ltt_alignof(data));