Prefix lttng_enum_desc with lttng_kernel_
[lttng-modules.git] / src / lttng-context-mnt-ns.c
index 7fce5dd151d16b30fc743eeea3cb31617fed09e9..7f215a8a1500b5e998e14934124d18e0fa972c76 100644 (file)
@@ -20,7 +20,7 @@
 #include <lttng/tracer.h>
 
 #if !defined(LTTNG_MNT_NS_MISSING_HEADER) && \
-       (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
+       (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
 
 #include <../fs/mount.h>
 
@@ -87,13 +87,13 @@ int lttng_add_mnt_ns_to_ctx(struct lttng_ctx **ctx)
                return -EEXIST;
        }
        field->event_field.name = "mnt_ns";
-       field->event_field.type.atype = atype_integer;
+       field->event_field.type.type = lttng_kernel_type_integer;
        field->event_field.type.u.integer.size = sizeof(unsigned int) * CHAR_BIT;
        field->event_field.type.u.integer.alignment = lttng_alignof(unsigned int) * CHAR_BIT;
        field->event_field.type.u.integer.signedness = lttng_is_signed_type(unsigned 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 = mnt_ns_get_size;
        field->record = mnt_ns_record;
        field->get_value = mnt_ns_get_value;
This page took 0.035548 seconds and 4 git commands to generate.