Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-context-net-ns.c
index d1bf7d5a99b4aa7bc8bbbf8ac9eec0ec3bd2dbc5..655759ac06ef25c854c5da1217107fd29b95dd40 100644 (file)
@@ -107,8 +107,7 @@ void net_ns_record(struct lttng_ust_ctx_field *field,
        ino_t net_ns;
 
        net_ns = get_net_ns();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(net_ns));
-       chan->ops->event_write(ctx, &net_ns, sizeof(net_ns));
+       chan->ops->event_write(ctx, &net_ns, sizeof(net_ns), lttng_ust_rb_alignof(net_ns));
 }
 
 static
This page took 0.023699 seconds and 4 git commands to generate.