X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-ip.c;h=903123a74686d9e04dde46792076671a17fc346a;hb=3d3dc207c16d90ecd80eb1e757fe8b94ff317c63;hp=4b32dc3983eea987fd8b9fd8929d7ee6a9c6fd1f;hpb=a084756d092167324ee09d3f819cc45407b58233;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-ip.c b/liblttng-ust/lttng-context-ip.c index 4b32dc39..903123a7 100644 --- a/liblttng-ust/lttng-context-ip.c +++ b/liblttng-ust/lttng-context-ip.c @@ -7,12 +7,13 @@ */ #define _LGPL_SOURCE +#include #include #include #include #include #include -#include +#include #include "context-internal.h" @@ -29,7 +30,7 @@ size_t ip_get_size(struct lttng_ust_ctx_field *field, size_t offset) static void ip_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) { void *ip; @@ -46,7 +47,7 @@ int lttng_add_ip_to_ctx(struct lttng_ust_ctx **ctx) type = lttng_ust_create_type_integer(sizeof(void *) * CHAR_BIT, lttng_alignof(void *) * CHAR_BIT, - lttng_is_signed_type(void *), + lttng_ust_is_signed_type(void *), BYTE_ORDER, 16); if (!type) return -ENOMEM;