X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fprobes%2Flttng-uprobes.c;h=816b7fc1be209c952c11eedddf5df5fcc83e1338;hb=28cbcb59855c099a89b02054b15b45ee3ad6a52a;hp=c44ed4f8da511349cd911faafa8440c3e49170a0;hpb=196bfc6a04f069e57803c9a2a18f2528394ceacd;p=lttng-modules.git diff --git a/src/probes/lttng-uprobes.c b/src/probes/lttng-uprobes.c index c44ed4f8..816b7fc1 100644 --- a/src/probes/lttng-uprobes.c +++ b/src/probes/lttng-uprobes.c @@ -107,13 +107,13 @@ int lttng_create_uprobe_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); fields[0].type.u.integer.reverse_byte_order = 0; fields[0].type.u.integer.base = 16; - fields[0].type.u.integer.encoding = lttng_encode_none; + fields[0].type.u.integer.encoding = lttng_kernel_string_encoding_none; desc->owner = THIS_MODULE; event->desc = desc;