Fix: filter: var len array at end of external structure
[lttng-ust.git] / include / lttng / ust-events.h
index e45a6a7187621afc1a09175cacf68409cbc52f23..f501fd1459bd6e96356ab52f1a3ddc424447aeb0 100644 (file)
@@ -291,8 +291,12 @@ struct lttng_event;
 
 struct lttng_ust_filter_bytecode_node {
        struct cds_list_head node;
-       struct lttng_ust_filter_bytecode bc;
        struct lttng_enabler *enabler;
+       /*
+        * struct lttng_ust_filter_bytecode has var. sized array, must
+        * be last field.
+        */
+       struct lttng_ust_filter_bytecode bc;
 };
 
 struct lttng_bytecode_runtime {
This page took 0.023391 seconds and 4 git commands to generate.