X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-context-vegid.c;h=682f7d9a573a6e38d451ccb28e239623dcf96ca2;hb=baa8acf3af23bc5d9373144bef8147744b5ae01f;hp=97618ce0b6e20c01fd71993d6ddeadc3a030654d;hpb=6339062a5bbe886493d0691d13e28e37a7206362;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-context-vegid.c b/src/lib/lttng-ust/lttng-context-vegid.c index 97618ce0..682f7d9a 100644 --- a/src/lib/lttng-ust/lttng-context-vegid.c +++ b/src/lib/lttng-ust/lttng-context-vegid.c @@ -15,10 +15,10 @@ #include #include #include -#include +#include #include "context-internal.h" -#include "creds.h" +#include "common/creds.h" /* @@ -67,14 +67,14 @@ size_t vegid_get_size(void *priv __attribute__((unused)), { size_t size = 0; - size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(gid_t)); + size += lttng_ust_ring_buffer_align(offset, lttng_ust_rb_alignof(gid_t)); size += sizeof(gid_t); return size; } static void vegid_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) { gid_t vegid; @@ -95,7 +95,7 @@ static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field( lttng_ust_static_type_integer(sizeof(gid_t) * CHAR_BIT, lttng_ust_rb_alignof(gid_t) * CHAR_BIT, lttng_ust_is_signed_type(gid_t), - BYTE_ORDER, 10), + LTTNG_UST_BYTE_ORDER, 10), false, false), vegid_get_size, vegid_record,