X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-probes.c;h=d518a41d2b66cc5e439c687f8b83fd6350c807d4;hb=7ee76145ae6a7efc03968571b9e4a22d46e92929;hp=e7dab9fce49c2603392a9362311aff3a88ee39d3;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/liblttng-ust/lttng-probes.c b/liblttng-ust/lttng-probes.c index e7dab9fc..d518a41d 100644 --- a/liblttng-ust/lttng-probes.c +++ b/liblttng-ust/lttng-probes.c @@ -15,7 +15,7 @@ #include #include "tracepoint-internal.h" #include -#include +#include #include #include "lttng-tracer-core.h" @@ -361,13 +361,6 @@ int lttng_probes_get_field_list(struct lttng_ust_field_list *list) case atype_string: list_entry->field.type = LTTNG_UST_FIELD_STRING; break; - case atype_array: - if (event_field->type.u.legacy.array.elem_type.atype != atype_integer - || event_field->type.u.legacy.array.elem_type.u.basic.integer.encoding == lttng_encode_none) - list_entry->field.type = LTTNG_UST_FIELD_OTHER; - else - list_entry->field.type = LTTNG_UST_FIELD_STRING; - break; case atype_array_nestable: if (event_field->type.u.array_nestable.elem_type->atype != atype_integer || event_field->type.u.array_nestable.elem_type->u.integer.encoding == lttng_encode_none) @@ -375,13 +368,6 @@ int lttng_probes_get_field_list(struct lttng_ust_field_list *list) else list_entry->field.type = LTTNG_UST_FIELD_STRING; break; - case atype_sequence: - if (event_field->type.u.legacy.sequence.elem_type.atype != atype_integer - || event_field->type.u.legacy.sequence.elem_type.u.basic.integer.encoding == lttng_encode_none) - list_entry->field.type = LTTNG_UST_FIELD_OTHER; - else - list_entry->field.type = LTTNG_UST_FIELD_STRING; - break; case atype_sequence_nestable: if (event_field->type.u.sequence_nestable.elem_type->atype != atype_integer || event_field->type.u.sequence_nestable.elem_type->u.integer.encoding == lttng_encode_none) @@ -392,7 +378,6 @@ int lttng_probes_get_field_list(struct lttng_ust_field_list *list) case atype_float: list_entry->field.type = LTTNG_UST_FIELD_FLOAT; break; - case atype_enum: /* Fall-through */ case atype_enum_nestable: list_entry->field.type = LTTNG_UST_FIELD_ENUM; break;