struct lttng_ctx *ctx;
};
+struct lttng_ust_filter_bytecode_node {
+ struct cds_list_head node;
+ 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_ust_excluder_node {
+ struct cds_list_head node;
+ struct lttng_enabler *enabler;
+ /*
+ * struct lttng_ust_event_exclusion had variable sized array,
+ * must be last field.
+ */
+ struct lttng_ust_event_exclusion excluder;
+};
+
static inline
struct lttng_enabler *lttng_event_enabler_as_enabler(
struct lttng_event_enabler *event_enabler)
* each is linked to the provided event.
*/
LTTNG_HIDDEN
-void lttng_event_enabler_link_bytecode(struct lttng_event *event,
- struct lttng_event_enabler *enabler);
+void lttng_enabler_link_bytecode(const struct lttng_event_desc *event_desc,
+ struct lttng_ctx **ctx,
+ struct cds_list_head *bytecode_runtime_head,
+ struct lttng_enabler *enabler);
#endif /* _LTTNG_UST_EVENTS_INTERNAL_H */