cleanup: Namespace public utils macros
[lttng-ust.git] / liblttng-ust / lttng-context-pthread-id.c
index d113f59523f9947b77dba87cdd36fe6ad31ccf86..65f77d9be5b3d1709225f9b31da2dfd9fae8f6e7 100644 (file)
@@ -11,7 +11,7 @@
 #include <pthread.h>
 #include <lttng/ust-events.h>
 #include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-config.h>
+#include <lttng/ringbuffer-context.h>
 
 #include "context-internal.h"
 
@@ -28,7 +28,7 @@ size_t pthread_id_get_size(struct lttng_ust_ctx_field *field, size_t offset)
 static
 void pthread_id_record(struct lttng_ust_ctx_field *field,
                 struct lttng_ust_lib_ring_buffer_ctx *ctx,
-                struct lttng_channel *chan)
+                struct lttng_ust_channel_buffer *chan)
 {
        unsigned long pthread_id;
 
@@ -52,7 +52,7 @@ int lttng_add_pthread_id_to_ctx(struct lttng_ust_ctx **ctx)
 
        type = lttng_ust_create_type_integer(sizeof(unsigned long) * CHAR_BIT,
                        lttng_alignof(unsigned long) * CHAR_BIT,
-                       lttng_is_signed_type(unsigned long),
+                       lttng_ust_is_signed_type(unsigned long),
                        BYTE_ORDER, 10);
        if (!type)
                return -ENOMEM;
This page took 0.030817 seconds and 4 git commands to generate.