Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-context-ipc-ns.c
index 9988684fdbf664b28585597b6475f9f55db6ff7f..a08b9a021ec964a0b528b216b87bd65ef13826f2 100644 (file)
@@ -107,8 +107,7 @@ void ipc_ns_record(struct lttng_ust_ctx_field *field,
        ino_t ipc_ns;
 
        ipc_ns = get_ipc_ns();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(ipc_ns));
-       chan->ops->event_write(ctx, &ipc_ns, sizeof(ipc_ns));
+       chan->ops->event_write(ctx, &ipc_ns, sizeof(ipc_ns), lttng_ust_rb_alignof(ipc_ns));
 }
 
 static
This page took 0.025129 seconds and 4 git commands to generate.