#include <sys/syscall.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-config.h>
+#include <lttng/ringbuffer-context.h>
#include <urcu/system.h>
#include <urcu/arch.h>
#include <urcu/rculist.h>
static
void perf_counter_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)
{
uint64_t value;
lttng_alignof(uint64_t) * CHAR_BIT,
lttng_is_signed_type(uint64_t),
BYTE_ORDER, 10);
- if (!type) {
+ if (!ust_type) {
ret = -ENOMEM;
goto type_alloc_error;
}