Namespace ust-fork symbols
[lttng-ust.git] / liblttng-ust / lttng-context-time-ns.c
index dda556c61a9a4e3bf881828db54a9e57837181b5..d487189eb302810b305585bb24fbe33e04c3281c 100644 (file)
@@ -8,13 +8,14 @@
  */
 
 #define _LGPL_SOURCE
+#include <limits.h>
 #include <stddef.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include <lttng/ust-events.h>
 #include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-config.h>
+#include <lttng/ringbuffer-context.h>
 #include <ust-tid.h>
 #include <urcu/tls-compat.h>
 #include "lttng-tracer-core.h"
@@ -100,7 +101,7 @@ size_t time_ns_get_size(struct lttng_ust_ctx_field *field, size_t offset)
 static
 void time_ns_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)
 {
        ino_t time_ns;
 
@@ -124,7 +125,7 @@ int lttng_add_time_ns_to_ctx(struct lttng_ust_ctx **ctx)
 
        type = lttng_ust_create_type_integer(sizeof(ino_t) * CHAR_BIT,
                        lttng_alignof(ino_t) * CHAR_BIT,
-                       lttng_is_signed_type(ino_t),
+                       lttng_ust_is_signed_type(ino_t),
                        BYTE_ORDER, 10);
        if (!type)
                return -ENOMEM;
This page took 0.02389 seconds and 4 git commands to generate.