*/
#define _LGPL_SOURCE
+#include <limits.h>
#include <stddef.h>
#include <sys/types.h>
#include <unistd.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-config.h>
+#include <lttng/ringbuffer-context.h>
#include "context-internal.h"
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;
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;