Prefix lttng_enum_desc with lttng_kernel_
[lttng-modules.git] / src / lttng-context-pid-ns.c
index 721485dfafdccae6082439fb57563b9f8ef26a6e..1a18897cb40ea3864f7fc6d80dc712b04b0895f2 100644 (file)
@@ -20,7 +20,7 @@
 #include <lttng/tracer.h>
 
 #if defined(CONFIG_PID_NS) && \
-       (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
+       (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
 
 static
 size_t pid_ns_get_size(size_t offset)
@@ -87,13 +87,13 @@ int lttng_add_pid_ns_to_ctx(struct lttng_ctx **ctx)
                return -EEXIST;
        }
        field->event_field.name = "pid_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 = pid_ns_get_size;
        field->record = pid_ns_record;
        field->get_value = pid_ns_get_value;
This page took 0.023302 seconds and 4 git commands to generate.