X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flttng-context-procname.c;h=a2e07453a48c1f00cf09f342a4ad375745916bec;hb=4fabf854f6bee54286be80dd682921634f43e813;hp=e2517bc665aafa9e0ccb6fd6cc083c7f29e0c2f3;hpb=e27e438139082cea47e96bc03f912a82456a8f8d;p=lttng-modules.git diff --git a/src/lttng-context-procname.c b/src/lttng-context-procname.c index e2517bc6..a2e07453 100644 --- a/src/lttng-context-procname.c +++ b/src/lttng-context-procname.c @@ -35,9 +35,9 @@ size_t procname_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, s static void procname_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, struct lttng_kernel_ring_buffer_ctx *ctx, - struct lttng_channel *chan) + struct lttng_kernel_channel_buffer *chan) { - chan->ops->event_write(ctx, current->comm, sizeof(current->comm)); + chan->ops->event_write(ctx, current->comm, sizeof(current->comm), 1); } static