X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-filter.c;h=05ce683ee72121a659cf620dcca2c3dcefb593c2;hb=1a228b02e01297f749be52a09ece0b16e3840c2d;hp=c33fa5f281c77be6714be9ecbfe85b2a2c0787cc;hpb=fead3a9cead4912b325d22229f7ad2fe656108e6;p=lttng-modules.git diff --git a/lttng-filter.c b/lttng-filter.c index c33fa5f2..05ce683e 100644 --- a/lttng-filter.c +++ b/lttng-filter.c @@ -244,7 +244,7 @@ int apply_field_reloc(struct lttng_event *event, { const struct lttng_basic_type *elem_type = &field->type.u.array.elem_type; - if (elem_type != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) + if (elem_type->atype != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) return -EINVAL; if (field->user) op->op = FILTER_OP_LOAD_FIELD_REF_USER_SEQUENCE; @@ -256,7 +256,7 @@ int apply_field_reloc(struct lttng_event *event, { const struct lttng_basic_type *elem_type = &field->type.u.sequence.elem_type; - if (elem_type != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) + if (elem_type->atype != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) return -EINVAL; if (field->user) op->op = FILTER_OP_LOAD_FIELD_REF_USER_SEQUENCE; @@ -332,7 +332,7 @@ int apply_context_reloc(struct lttng_event *event, { const struct lttng_basic_type *elem_type = &ctx_field->event_field.type.u.array.elem_type; - if (elem_type != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) + if (elem_type->atype != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) return -EINVAL; BUG_ON(ctx_field->event_field.user); op->op = FILTER_OP_GET_CONTEXT_REF_STRING; @@ -342,7 +342,7 @@ int apply_context_reloc(struct lttng_event *event, { const struct lttng_basic_type *elem_type = &ctx_field->event_field.type.u.sequence.elem_type; - if (elem_type != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) + if (elem_type->atype != atype_integer || elem_type->u.basic.integer.encoding == lttng_encode_none) return -EINVAL; BUG_ON(ctx_field->event_field.user); op->op = FILTER_OP_GET_CONTEXT_REF_STRING;