Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-context-vsgid.c
index 87e11f85dce5132fbdd41be701fb3dcc30a53273..d2ac2a709c98db889ac7be85a376a72c4c4ceb23 100644 (file)
@@ -83,8 +83,7 @@ void vsgid_record(struct lttng_ust_ctx_field *field,
        gid_t vsgid;
 
        vsgid = get_vsgid();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(vsgid));
-       chan->ops->event_write(ctx, &vsgid, sizeof(vsgid));
+       chan->ops->event_write(ctx, &vsgid, sizeof(vsgid), lttng_ust_rb_alignof(vsgid));
 }
 
 static
This page took 0.023156 seconds and 4 git commands to generate.