Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-context-pid-ns.c
index 4bdd95acbea487c49ae8debd4294eaa44312c36a..21dae9a83b47ceba6d7d1a712ef1e91e7dd8e566 100644 (file)
@@ -93,8 +93,7 @@ void pid_ns_record(struct lttng_ust_ctx_field *field,
        ino_t pid_ns;
 
        pid_ns = get_pid_ns();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(pid_ns));
-       chan->ops->event_write(ctx, &pid_ns, sizeof(pid_ns));
+       chan->ops->event_write(ctx, &pid_ns, sizeof(pid_ns), lttng_ust_rb_alignof(pid_ns));
 }
 
 static
This page took 0.022973 seconds and 4 git commands to generate.