X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-context-procname.c;h=a2e07453a48c1f00cf09f342a4ad375745916bec;hb=7f52f0d4228ee23b783e907258835d2f818350d7;hp=aaefef845f41ec82454f27eaadea51971b609ad9;hpb=f7d06400be7d046205c20277a03f3f31bf5b1703;p=lttng-modules.git diff --git a/src/lttng-context-procname.c b/src/lttng-context-procname.c index aaefef84..a2e07453 100644 --- a/src/lttng-context-procname.c +++ b/src/lttng-context-procname.c @@ -37,7 +37,7 @@ void procname_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, struct lttng_kernel_ring_buffer_ctx *ctx, 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