X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=lttng-filter.c;h=96ba1d23fa497c9a51afc5ce0bad862691297d31;hb=f513b2bf88afa9a36a725fbf8e91e3a3f3efebc9;hp=e96fcd30b2c03d505480824ed510331f04f3373d;hpb=241ae9a8fb62c3ce467d244e280062c24e73eb7a;p=lttng-modules.git diff --git a/lttng-filter.c b/lttng-filter.c index e96fcd30..96ba1d23 100644 --- a/lttng-filter.c +++ b/lttng-filter.c @@ -183,6 +183,9 @@ int apply_field_reloc(struct lttng_event *event, case atype_string: field_offset += sizeof(void *); break; + case atype_struct: /* Unsupported. */ + case atype_array_compound: /* Unsupported. */ + case atype_sequence_compound: /* Unsupported. */ default: return -EINVAL; } @@ -215,6 +218,9 @@ int apply_field_reloc(struct lttng_event *event, else op->op = FILTER_OP_LOAD_FIELD_REF_STRING; break; + case atype_struct: /* Unsupported. */ + case atype_array_compound: /* Unsupported. */ + case atype_sequence_compound: /* Unsupported. */ default: return -EINVAL; } @@ -262,6 +268,9 @@ int apply_context_reloc(struct lttng_event *event, BUG_ON(ctx_field->event_field.user); op->op = FILTER_OP_GET_CONTEXT_REF_STRING; break; + case atype_struct: /* Unsupported. */ + case atype_array_compound: /* Unsupported. */ + case atype_sequence_compound: /* Unsupported. */ default: return -EINVAL; }