Refactoring: bytecode interpreter ABI
[lttng-ust.git] / liblttng-ust / lttng-context-perf-counters.c
index 53ff3cbc10235ff2b6e992119861792ed0733499..593930843986b315144f45459fc0cbadb3b8559b 100644 (file)
@@ -438,7 +438,7 @@ uint64_t wrapper_perf_counter_read(struct lttng_ust_ctx_field *field)
 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;
 
@@ -548,7 +548,7 @@ int lttng_add_perf_counter_to_ctx(uint32_t type,
                        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;
        }
This page took 0.023808 seconds and 4 git commands to generate.