Move alignment into event write callback
[lttng-modules.git] / src / lttng-context-procname.c
index 22714946b437411bc2a83e5716b0242b2cf4cbb2..a2e07453a48c1f00cf09f342a4ad375745916bec 100644 (file)
@@ -34,10 +34,10 @@ 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 lib_ring_buffer_ctx *ctx,
-                struct lttng_channel *chan)
+                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
This page took 0.023233 seconds and 4 git commands to generate.