X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-cgroup-ns.c;h=d25a9b13207f232d263fcdb109db03316b52de6d;hb=8936b6c0add7eb6706e0a1ca50e03c446dda4006;hp=8ac91c4fbbe823a121d769f46587c066fc31f0f6;hpb=b62f8205216d20d7ef16b536efd81389dc6fdd2f;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-cgroup-ns.c b/liblttng-ust/lttng-context-cgroup-ns.c index 8ac91c4f..d25a9b13 100644 --- a/liblttng-ust/lttng-context-cgroup-ns.c +++ b/liblttng-ust/lttng-context-cgroup-ns.c @@ -108,8 +108,8 @@ void cgroup_ns_record(struct lttng_ust_ctx_field *field, ino_t cgroup_ns; cgroup_ns = get_cgroup_ns(); - lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(cgroup_ns)); - chan->ops->event_write(ctx, &cgroup_ns, sizeof(cgroup_ns)); + chan->ops->event_write(ctx, &cgroup_ns, sizeof(cgroup_ns), + lttng_ust_rb_alignof(cgroup_ns)); } static