X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-context-perf-counters.c;fp=src%2Flttng-context-perf-counters.c;h=b9b1e27da6ea2fd68368e34db25a8d1a9217ba41;hb=12bb2edb6ed3e96d3299a979e49b828f2b17dcb2;hp=25ca8c59f1790c1d6cdcd3ca04e1d71a0be6226c;hpb=196bfc6a04f069e57803c9a2a18f2528394ceacd;p=lttng-modules.git diff --git a/src/lttng-context-perf-counters.c b/src/lttng-context-perf-counters.c index 25ca8c59..b9b1e27d 100644 --- a/src/lttng-context-perf-counters.c +++ b/src/lttng-context-perf-counters.c @@ -309,7 +309,7 @@ int lttng_add_perf_counter_to_ctx(uint32_t type, field->destroy = lttng_destroy_perf_counter_field; field->event_field.name = name_alloc; - field->event_field.type.atype = atype_integer; + field->event_field.type.type = lttng_kernel_type_integer; field->event_field.type.u.integer.size = sizeof(uint64_t) * CHAR_BIT; field->event_field.type.u.integer.alignment = lttng_alignof(uint64_t) * CHAR_BIT; field->event_field.type.u.integer.signedness = lttng_is_signed_type(uint64_t);