Cleanup: Rename abstract types to lttng_kernel_type
[lttng-modules.git] / src / probes / lttng-kretprobes.c
index e0037aa7af66d19472d25911282f35658f2a5c5e..25bdec90ef52b90d6bde748a9d66e7704fc762ee 100644 (file)
@@ -129,7 +129,7 @@ int lttng_create_kprobe_event(const char *name, struct lttng_event *event,
                goto error_fields;
        }
        fields[0].name = "ip";
-       fields[0].type.atype = atype_integer;
+       fields[0].type.type = lttng_kernel_type_integer;
        fields[0].type.u.integer.size = sizeof(unsigned long) * CHAR_BIT;
        fields[0].type.u.integer.alignment = lttng_alignof(unsigned long) * CHAR_BIT;
        fields[0].type.u.integer.signedness = lttng_is_signed_type(unsigned long);
@@ -138,7 +138,7 @@ int lttng_create_kprobe_event(const char *name, struct lttng_event *event,
        fields[0].type.u.integer.encoding = lttng_encode_none;
 
        fields[1].name = "parent_ip";
-       fields[1].type.atype = atype_integer;
+       fields[1].type.type = lttng_kernel_type_integer;
        fields[1].type.u.integer.size = sizeof(unsigned long) * CHAR_BIT;
        fields[1].type.u.integer.alignment = lttng_alignof(unsigned long) * CHAR_BIT;
        fields[1].type.u.integer.signedness = lttng_is_signed_type(unsigned long);
This page took 0.023088 seconds and 4 git commands to generate.