Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-context-uts-ns.c
index a410c26455c1e44865a30dc925b96c68a528fed6..f8b0bd8c33b07a1eccf0e8d5ea78e560e41a2a66 100644 (file)
@@ -108,8 +108,7 @@ void uts_ns_record(struct lttng_ust_ctx_field *field,
        ino_t uts_ns;
 
        uts_ns = get_uts_ns();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(uts_ns));
-       chan->ops->event_write(ctx, &uts_ns, sizeof(uts_ns));
+       chan->ops->event_write(ctx, &uts_ns, sizeof(uts_ns), lttng_ust_rb_alignof(uts_ns));
 }
 
 static
This page took 0.023712 seconds and 4 git commands to generate.