Cleanup: Rename abstract types to lttng_kernel_type
[lttng-modules.git] / src / lttng-context-cgroup-ns.c
index 27f00f6bd78dd7e309cad8ff0252b6bc0e39a88a..3d5b518fc61b87bda3c2d534ca3ddd0b17d962f2 100644 (file)
@@ -20,7 +20,7 @@
 #include <lttng/tracer.h>
 
 #if defined(CONFIG_CGROUPS) && \
-       ((LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)) || \
+       ((LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0)) || \
         LTTNG_UBUNTU_KERNEL_RANGE(4,4,0,0, 4,5,0,0))
 
 static
@@ -86,7 +86,7 @@ int lttng_add_cgroup_ns_to_ctx(struct lttng_ctx **ctx)
                return -EEXIST;
        }
        field->event_field.name = "cgroup_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);
This page took 0.024205 seconds and 4 git commands to generate.