X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=liblttng-ust%2Flttng-context-veuid.c;h=7de2136b95ae360e8df84c490f151fa69123b448;hb=50d2bb48d09d5b6ae23185e8f916152e2371d04a;hp=159eb420593ee05e3a4d40dba10058e575b82b85;hpb=a084756d092167324ee09d3f819cc45407b58233;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-veuid.c b/liblttng-ust/lttng-context-veuid.c index 159eb420..7de2136b 100644 --- a/liblttng-ust/lttng-context-veuid.c +++ b/liblttng-ust/lttng-context-veuid.c @@ -8,13 +8,14 @@ */ #define _LGPL_SOURCE +#include #include #include #include #include #include #include -#include +#include #include "context-internal.h" #include "creds.h" @@ -73,7 +74,7 @@ size_t veuid_get_size(struct lttng_ust_ctx_field *field, size_t offset) static void veuid_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) { uid_t veuid; @@ -97,7 +98,7 @@ int lttng_add_veuid_to_ctx(struct lttng_ust_ctx **ctx) type = lttng_ust_create_type_integer(sizeof(uid_t) * CHAR_BIT, lttng_alignof(uid_t) * CHAR_BIT, - lttng_is_signed_type(uid_t), + lttng_ust_is_signed_type(uid_t), BYTE_ORDER, 10); if (!type) return -ENOMEM;