#include <lttng/events-internal.h>
#include <ringbuffer/frontend_types.h>
#include <wrapper/vmalloc.h>
#include <lttng/events-internal.h>
#include <ringbuffer/frontend_types.h>
#include <wrapper/vmalloc.h>
static
void cgroup_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
struct lttng_kernel_ring_buffer_ctx *ctx,
static
void cgroup_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
struct lttng_kernel_ring_buffer_ctx *ctx,
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(cgroup_ns_inum));
- chan->ops->event_write(ctx, &cgroup_ns_inum, sizeof(cgroup_ns_inum));
+ chan->ops->event_write(ctx, &cgroup_ns_inum, sizeof(cgroup_ns_inum), lttng_alignof(cgroup_ns_inum));
static const struct lttng_kernel_ctx_field *ctx_field = lttng_kernel_static_ctx_field(
lttng_kernel_static_event_field("cgroup_ns",
lttng_kernel_static_type_integer_from_type(unsigned int, __BYTE_ORDER, 10),
static const struct lttng_kernel_ctx_field *ctx_field = lttng_kernel_static_ctx_field(
lttng_kernel_static_event_field("cgroup_ns",
lttng_kernel_static_type_integer_from_type(unsigned int, __BYTE_ORDER, 10),