Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / ust-core.c
index 7bd55aba4a054cded14e7c0655f4098d896c443e..88d4f5589b3426beb030cd56be83d583678126f9 100644 (file)
@@ -9,6 +9,7 @@
 #include <stddef.h>
 #include <stdlib.h>
 
+#include "context-internal.h"
 #include "ust-events-internal.h"
 #include <usterr-signal-safe.h>
 #include "lttng-tracer-core.h"
@@ -120,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,
This page took 0.023198 seconds and 4 git commands to generate.