Namespace 'lttng_alignof' to 'lttng_ust_rb_alignof'
[lttng-ust.git] / liblttng-ust / lttng-context-vgid.c
index cd04e95174a6eb5b89a5905c82a915e119368bb8..ac298ae2cda37bd790a58b29ef827ebc93c628f1 100644 (file)
@@ -66,7 +66,7 @@ size_t vgid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
 {
        size_t size = 0;
 
-       size += lttng_ust_lib_ring_buffer_align(offset, lttng_alignof(gid_t));
+       size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(gid_t));
        size += sizeof(gid_t);
        return size;
 }
@@ -79,7 +79,7 @@ void vgid_record(struct lttng_ust_ctx_field *field,
        gid_t vgid;
 
        vgid = get_vgid();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_alignof(vgid));
+       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(vgid));
        chan->ops->event_write(ctx, &vgid, sizeof(vgid));
 }
 
@@ -97,7 +97,7 @@ int lttng_add_vgid_to_ctx(struct lttng_ust_ctx **ctx)
        int ret;
 
        type = lttng_ust_create_type_integer(sizeof(gid_t) * CHAR_BIT,
-                       lttng_alignof(gid_t) * CHAR_BIT,
+                       lttng_ust_rb_alignof(gid_t) * CHAR_BIT,
                        lttng_ust_is_signed_type(gid_t),
                        BYTE_ORDER, 10);
        if (!type)
This page took 0.02517 seconds and 4 git commands to generate.