X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=src%2Fprobes%2Flttng-kretprobes.c;h=25bdec90ef52b90d6bde748a9d66e7704fc762ee;hp=e0037aa7af66d19472d25911282f35658f2a5c5e;hb=12bb2edb6ed3e96d3299a979e49b828f2b17dcb2;hpb=196bfc6a04f069e57803c9a2a18f2528394ceacd diff --git a/src/probes/lttng-kretprobes.c b/src/probes/lttng-kretprobes.c index e0037aa7..25bdec90 100644 --- a/src/probes/lttng-kretprobes.c +++ b/src/probes/lttng-kretprobes.c @@ -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);