if (current->nsproxy)
ipc_ns_inum = current->nsproxy->ipc_ns->lttng_ns_inum;
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(ipc_ns_inum));
- chan->ops->event_write(ctx, &ipc_ns_inum, sizeof(ipc_ns_inum));
+ chan->ops->event_write(ctx, &ipc_ns_inum, sizeof(ipc_ns_inum), lttng_alignof(ipc_ns_inum));
}
static
static const struct lttng_kernel_ctx_field *ctx_field = lttng_kernel_static_ctx_field(
lttng_kernel_static_event_field("ipc_ns",
lttng_kernel_static_type_integer_from_type(unsigned int, __BYTE_ORDER, 10),
- false, false, false),
+ false, false),
ipc_ns_get_size,
ipc_ns_record,
ipc_ns_get_value,