Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-context-perf-counters.c
index 3a00a7fabdb8f9de00e34428de0315c37e710b48..94f4e95d4589bf8bb798af3a07fa7478e1e88c96 100644 (file)
@@ -445,8 +445,7 @@ void perf_counter_record(struct lttng_ust_ctx_field *field,
        uint64_t value;
 
        value = wrapper_perf_counter_read(field);
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(value));
-       chan->ops->event_write(ctx, &value, sizeof(value));
+       chan->ops->event_write(ctx, &value, sizeof(value), lttng_ust_rb_alignof(value));
 }
 
 static
This page took 0.036829 seconds and 4 git commands to generate.