X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fprobes%2Flttng-kprobes.c;h=e3fa493f8a93f7170afd65f2637dd95d25a38578;hb=c2fb9c1c4f890840c02ad4b66a7cf69ae5dca6f7;hp=39de7d3d3e1e1d6bdb53a780036a56909dedeb81;hpb=b1199bd39f4b617b99518b72ceeea644b164b901;p=lttng-modules.git diff --git a/src/probes/lttng-kprobes.c b/src/probes/lttng-kprobes.c index 39de7d3d..e3fa493f 100644 --- a/src/probes/lttng-kprobes.c +++ b/src/probes/lttng-kprobes.c @@ -65,7 +65,7 @@ int lttng_kprobes_event_handler_pre(struct kprobe *p, struct pt_regs *regs) lib_ring_buffer_ctx_init(&ctx, event_recorder, sizeof(data), lttng_alignof(data), <tng_probe_ctx); - ret = chan->ops->event_reserve(&ctx, event_recorder->priv->id); + ret = chan->ops->event_reserve(&ctx); if (ret < 0) return 0; lib_ring_buffer_align_ctx(&ctx, lttng_alignof(data));