From: Mathieu Desnoyers Date: Mon, 25 Sep 2017 20:24:02 +0000 (-0400) Subject: Filter: implement dynamic typing for load object X-Git-Tag: v2.11.0-rc1~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8d3190bdb8bfd285a56afd8dd348a344b62d4815;p=lttng-ust.git Filter: implement dynamic typing for load object Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-filter-specialize.c b/liblttng-ust/lttng-filter-specialize.c index 1ade2883..e269db6a 100644 --- a/liblttng-ust/lttng-filter-specialize.c +++ b/liblttng-ust/lttng-filter-specialize.c @@ -422,7 +422,7 @@ static int specialize_load_object(const struct lttng_event_field *field, break; case atype_dynamic: load->object_type = OBJECT_TYPE_DYNAMIC; - return -EINVAL; + break; case atype_struct: ERR("Structure type cannot be loaded."); return -EINVAL;