X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-filter.c;h=36c6db908227326599d158f9c48284edd07ae60c;hb=refs%2Fheads%2Fstable-2.9;hp=e9f549ca3f9a2bc9963998629859bce784863dd5;hpb=f127e61ee231d002fb9a7803643a157e06f6d2e2;p=lttng-modules.git diff --git a/lttng-filter.c b/lttng-filter.c index e9f549ca..36c6db90 100644 --- a/lttng-filter.c +++ b/lttng-filter.c @@ -23,7 +23,7 @@ #include #include -#include "lttng-filter.h" +#include static const char *opnames[] = { [ FILTER_OP_UNKNOWN ] = "UNKNOWN", @@ -183,6 +183,10 @@ 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. */ + case atype_variant: /* Unsupported. */ default: return -EINVAL; } @@ -215,6 +219,10 @@ 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. */ + case atype_variant: /* Unsupported. */ default: return -EINVAL; } @@ -262,6 +270,10 @@ 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. */ + case atype_variant: /* Unsupported. */ default: return -EINVAL; }