X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fprobes%2Flttng-kprobes.c;h=01bc16e4e534cf6c5f02544455252f3df192eb32;hb=d96a4a7a78319be3386b57d9068817e9ffac2a24;hp=82433bd84c0793c9a1cd93ab40335caf5d475113;hpb=196bfc6a04f069e57803c9a2a18f2528394ceacd;p=lttng-modules.git diff --git a/src/probes/lttng-kprobes.c b/src/probes/lttng-kprobes.c index 82433bd8..01bc16e4 100644 --- a/src/probes/lttng-kprobes.c +++ b/src/probes/lttng-kprobes.c @@ -91,13 +91,13 @@ int lttng_create_kprobe_event(const char *name, struct lttng_event *event) goto error_field; } field->name = "ip"; - field->type.atype = atype_integer; + field->type.type = lttng_kernel_type_integer; field->type.u.integer.size = sizeof(unsigned long) * CHAR_BIT; field->type.u.integer.alignment = lttng_alignof(unsigned long) * CHAR_BIT; field->type.u.integer.signedness = lttng_is_signed_type(unsigned long); field->type.u.integer.reverse_byte_order = 0; field->type.u.integer.base = 16; - field->type.u.integer.encoding = lttng_encode_none; + field->type.u.integer.encoding = lttng_kernel_string_encoding_none; desc->owner = THIS_MODULE; event->desc = desc;