-int event_agent_enable(struct ltt_ust_session *usess, struct lttng_event *event,
- struct lttng_filter_bytecode *filter);
-int event_agent_enable_all(struct ltt_ust_session *usess,
- struct lttng_event *event, struct lttng_filter_bytecode *filter);
+int event_agent_enable(struct ltt_ust_session *usess, struct agent *agt,
+ struct lttng_event *event, struct lttng_bytecode *filter,
+ char *filter_expression);
+int event_agent_enable_all(struct ltt_ust_session *usess, struct agent *agt,
+ struct lttng_event *event, struct lttng_bytecode *filter,
+ char *filter_expression);
+
+int event_agent_disable(struct ltt_ust_session *usess, struct agent *agt,
+ const char *event_name);
+int event_agent_disable_all(struct ltt_ust_session *usess, struct agent *agt);
+
+int trigger_agent_enable(
+ const struct lttng_trigger *trigger, struct agent *agt);
+int trigger_agent_disable(
+ const struct lttng_trigger *trigger, struct agent *agt);