Namespace 'lttng_alignof' to 'lttng_ust_rb_alignof'
[lttng-ust.git] / liblttng-ust / lttng-context-veuid.c
index 7e877f2339673d17e123813244c7f32b48b38617..db60322dde79ea699aebd9b1a6be0369e9f4021d 100644 (file)
@@ -66,7 +66,7 @@ size_t veuid_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(uid_t));
+       size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(uid_t));
        size += sizeof(uid_t);
        return size;
 }
@@ -79,7 +79,7 @@ void veuid_record(struct lttng_ust_ctx_field *field,
        uid_t veuid;
 
        veuid = get_veuid();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_alignof(veuid));
+       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(veuid));
        chan->ops->event_write(ctx, &veuid, sizeof(veuid));
 }
 
@@ -97,7 +97,7 @@ int lttng_add_veuid_to_ctx(struct lttng_ust_ctx **ctx)
        int ret;
 
        type = lttng_ust_create_type_integer(sizeof(uid_t) * CHAR_BIT,
-                       lttng_alignof(uid_t) * CHAR_BIT,
+                       lttng_ust_rb_alignof(uid_t) * CHAR_BIT,
                        lttng_ust_is_signed_type(uid_t),
                        BYTE_ORDER, 10);
        if (!type)
This page took 0.038254 seconds and 4 git commands to generate.