Tracepoint API namespacing ust-endian
[lttng-ust.git] / src / lib / lttng-ust / lttng-context-vgid.c
index 9bf02abe2b16c012ed3ce9aa1252fdf32ad0ba5c..c19be225a3a687137aa317af21db9a55559888af 100644 (file)
@@ -15,7 +15,7 @@
 #include <unistd.h>
 #include <lttng/ust-events.h>
 #include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-context.h>
+#include <lttng/ust-ringbuffer-context.h>
 
 #include "context-internal.h"
 #include "common/creds.h"
@@ -67,14 +67,14 @@ size_t vgid_get_size(void *priv __attribute__((unused)),
 {
        size_t size = 0;
 
-       size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(gid_t));
+       size += lttng_ust_ring_buffer_align(offset, lttng_ust_rb_alignof(gid_t));
        size += sizeof(gid_t);
        return size;
 }
 
 static
 void vgid_record(void *priv __attribute__((unused)),
-                struct lttng_ust_lib_ring_buffer_ctx *ctx,
+                struct lttng_ust_ring_buffer_ctx *ctx,
                 struct lttng_ust_channel_buffer *chan)
 {
        gid_t vgid;
@@ -95,7 +95,7 @@ static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(
                lttng_ust_static_type_integer(sizeof(gid_t) * CHAR_BIT,
                                lttng_ust_rb_alignof(gid_t) * CHAR_BIT,
                                lttng_ust_is_signed_type(gid_t),
-                               BYTE_ORDER, 10),
+                               LTTNG_UST_BYTE_ORDER, 10),
                false, false),
        vgid_get_size,
        vgid_record,
This page took 0.024042 seconds and 4 git commands to generate.