Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / lttng-context-pthread-id.c
index d26cf90820b2c4a53d6c2627f97316e6e84a3a95..b6aa547062425689469c9bd1dd2eb63f80ab1de6 100644 (file)
@@ -34,8 +34,7 @@ void pthread_id_record(struct lttng_ust_ctx_field *field,
        unsigned long pthread_id;
 
        pthread_id = (unsigned long) pthread_self();
-       lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(pthread_id));
-       chan->ops->event_write(ctx, &pthread_id, sizeof(pthread_id));
+       chan->ops->event_write(ctx, &pthread_id, sizeof(pthread_id), lttng_ust_rb_alignof(pthread_id));
 }
 
 static
This page took 0.022813 seconds and 4 git commands to generate.