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;
}