X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Fust-core.c;fp=liblttng-ust%2Fust-core.c;h=88d4f5589b3426beb030cd56be83d583678126f9;hb=8936b6c0add7eb6706e0a1ca50e03c446dda4006;hp=089dd9107aa107f5398a344f556e3153c04cccde;hpb=b62f8205216d20d7ef16b536efd81389dc6fdd2f;p=lttng-ust.git diff --git a/liblttng-ust/ust-core.c b/liblttng-ust/ust-core.c index 089dd910..88d4f558 100644 --- a/liblttng-ust/ust-core.c +++ b/liblttng-ust/ust-core.c @@ -121,8 +121,7 @@ void lttng_ust_dummy_record(struct lttng_ust_ctx_field *field, { char sel_char = (char) LTTNG_UST_DYNAMIC_TYPE_NONE; - lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(sel_char)); - chan->ops->event_write(ctx, &sel_char, sizeof(sel_char)); + chan->ops->event_write(ctx, &sel_char, sizeof(sel_char), lttng_ust_rb_alignof(sel_char)); } void lttng_ust_dummy_get_value(struct lttng_ust_ctx_field *field,