Cleanup: namespace string encoding
[lttng-modules.git] / src / lttng-context-cpu-id.c
index 498dfcf09eb3f54052265405b101038baf0406a7..c02aad7e7d1d296765bfa03f39af199047ba66ca 100644 (file)
@@ -57,13 +57,13 @@ int lttng_add_cpu_id_to_ctx(struct lttng_ctx **ctx)
                return -EEXIST;
        }
        field->event_field.name = "cpu_id";
-       field->event_field.type.atype = atype_integer;
+       field->event_field.type.type = lttng_kernel_type_integer;
        field->event_field.type.u.integer.size = sizeof(int) * CHAR_BIT;
        field->event_field.type.u.integer.alignment = lttng_alignof(int) * CHAR_BIT;
        field->event_field.type.u.integer.signedness = lttng_is_signed_type(int);
        field->event_field.type.u.integer.reverse_byte_order = 0;
        field->event_field.type.u.integer.base = 10;
-       field->event_field.type.u.integer.encoding = lttng_encode_none;
+       field->event_field.type.u.integer.encoding = lttng_kernel_string_encoding_none;
        field->get_size = cpu_id_get_size;
        field->record = cpu_id_record;
        field->get_value = cpu_id_get_value;
This page took 0.023488 seconds and 4 git commands to generate.