Tracepoint API namespacing ust-endian
[lttng-ust.git] / src / lib / lttng-ust / lttng-context-veuid.c
index 5c2a1d83fd05aae709184c0b55dc7478eb39f308..505a1b636d34b54e8f27d777188871a3e26d0bf5 100644 (file)
 #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 "creds.h"
+#include "common/creds.h"
 
 
 /*
@@ -67,14 +67,14 @@ size_t veuid_get_size(void *priv __attribute__((unused)),
 {
        size_t size = 0;
 
-       size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(uid_t));
+       size += lttng_ust_ring_buffer_align(offset, lttng_ust_rb_alignof(uid_t));
        size += sizeof(uid_t);
        return size;
 }
 
 static
 void veuid_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)
 {
        uid_t veuid;
@@ -95,7 +95,7 @@ static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(
                lttng_ust_static_type_integer(sizeof(uid_t) * CHAR_BIT,
                                lttng_ust_rb_alignof(uid_t) * CHAR_BIT,
                                lttng_ust_is_signed_type(uid_t),
-                               BYTE_ORDER, 10),
+                               LTTNG_UST_BYTE_ORDER, 10),
                false, false),
        veuid_get_size,
        veuid_record,
This page took 0.023963 seconds and 4 git commands to generate.