Introduce internal event header
[lttng-modules.git] / src / lttng-context-callstack.c
index eaaecf4d7dc1d64fddf00932fc26eb03f453776b..dc61c71077f5172470a9013286c247b32e690159 100644 (file)
@@ -137,20 +137,20 @@ int __lttng_add_callstack_generic(struct lttng_ctx **ctx,
 
        field = &length_field->event_field;
        field->name = ctx_length_name;
-       field->type.atype = atype_integer;
+       field->type.type = lttng_kernel_type_integer;
        field->type.u.integer.size = sizeof(unsigned int) * CHAR_BIT;
        field->type.u.integer.alignment = lttng_alignof(unsigned int) * CHAR_BIT;
        field->type.u.integer.signedness = lttng_is_signed_type(unsigned int);
        field->type.u.integer.reverse_byte_order = 0;
        field->type.u.integer.base = 10;
-       field->type.u.integer.encoding = lttng_encode_none;
+       field->type.u.integer.encoding = lttng_kernel_string_encoding_none;
        length_field->get_size_arg = lttng_callstack_length_get_size;
        length_field->record = lttng_callstack_length_record;
        length_field->priv = fdata;
 
        field = &sequence_field->event_field;
        field->name = ctx_name;
-       field->type.atype = atype_sequence_nestable;
+       field->type.type = lttng_kernel_type_sequence_nestable;
        field->type.u.sequence_nestable.length_name = ctx_length_name;
        field->type.u.sequence_nestable.elem_type = &sequence_elem_type;
        field->type.u.sequence_nestable.alignment = 0;
This page took 0.024601 seconds and 4 git commands to generate.