{
size_t size = 0;
- size += lttng_ust_lib_ring_buffer_align(offset, lttng_alignof(ino_t));
+ size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(ino_t));
size += sizeof(ino_t);
return size;
}
ino_t mnt_ns;
mnt_ns = get_mnt_ns();
- lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_alignof(mnt_ns));
- chan->ops->event_write(ctx, &mnt_ns, sizeof(mnt_ns));
+ chan->ops->event_write(ctx, &mnt_ns, sizeof(mnt_ns), lttng_ust_rb_alignof(mnt_ns));
}
static
int ret;
type = lttng_ust_create_type_integer(sizeof(ino_t) * CHAR_BIT,
- lttng_alignof(ino_t) * CHAR_BIT,
+ lttng_ust_rb_alignof(ino_t) * CHAR_BIT,
lttng_ust_is_signed_type(ino_t),
BYTE_ORDER, 10);
if (!type)