X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=liblttng-ust%2Flttng-context-ipc-ns.c;h=4186d4e72e36e90024803feddb330bee08c2c78c;hb=d0c8f180cac01b888a81ce8abb47ce9e57925a53;hp=d0c4ecd6603a0a12c267463b160011a6329bdb24;hpb=a084756d092167324ee09d3f819cc45407b58233;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-ipc-ns.c b/liblttng-ust/lttng-context-ipc-ns.c index d0c4ecd6..4186d4e7 100644 --- a/liblttng-ust/lttng-context-ipc-ns.c +++ b/liblttng-ust/lttng-context-ipc-ns.c @@ -8,15 +8,16 @@ */ #define _LGPL_SOURCE +#include #include #include #include #include #include #include -#include #include #include +#include #include "context-internal.h" #include "lttng-tracer-core.h" @@ -101,7 +102,7 @@ size_t ipc_ns_get_size(struct lttng_ust_ctx_field *field, size_t offset) static void ipc_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 ipc_ns; @@ -125,7 +126,7 @@ int lttng_add_ipc_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;