X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-context-net-ns.c;h=5b269c611687997dc0d68e9f5b01129d85b52373;hb=baa8acf3af23bc5d9373144bef8147744b5ae01f;hp=e7c8f9f9c5a181a830af4d2544980c5600e0465c;hpb=6339062a5bbe886493d0691d13e28e37a7206362;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-context-net-ns.c b/src/lib/lttng-ust/lttng-context-net-ns.c index e7c8f9f9..5b269c61 100644 --- a/src/lib/lttng-ust/lttng-context-net-ns.c +++ b/src/lib/lttng-ust/lttng-context-net-ns.c @@ -15,13 +15,13 @@ #include #include #include -#include +#include #include "common/compat/tid.h" #include #include "context-internal.h" #include "lttng-tracer-core.h" -#include "ns.h" +#include "common/ns.h" /* * We cache the result to ensure we don't stat(2) the proc filesystem on @@ -95,14 +95,14 @@ size_t net_ns_get_size(void *priv __attribute__((unused)), { size_t size = 0; - size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(ino_t)); + size += lttng_ust_ring_buffer_align(offset, lttng_ust_rb_alignof(ino_t)); size += sizeof(ino_t); return size; } static void net_ns_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) { ino_t net_ns; @@ -123,7 +123,7 @@ static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field( lttng_ust_static_type_integer(sizeof(ino_t) * CHAR_BIT, lttng_ust_rb_alignof(ino_t) * CHAR_BIT, lttng_ust_is_signed_type(ino_t), - BYTE_ORDER, 10), + LTTNG_UST_BYTE_ORDER, 10), false, false), net_ns_get_size, net_ns_record,