X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-probes.c;h=d518a41d2b66cc5e439c687f8b83fd6350c807d4;hb=8c3470eaadb6e01fe65e1b852907467c0527ba05;hp=2306e1e63f48b30c30065c865fa1fc7e2a24db19;hpb=bd640d74f149ce079f81103221a8aaafca02ce04;p=lttng-ust.git diff --git a/liblttng-ust/lttng-probes.c b/liblttng-ust/lttng-probes.c index 2306e1e6..d518a41d 100644 --- a/liblttng-ust/lttng-probes.c +++ b/liblttng-ust/lttng-probes.c @@ -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;