-int event_kernel_disable_tracepoint(struct ltt_kernel_channel *kchan,
- char *event_name);
-int event_kernel_disable_all_syscalls(struct ltt_kernel_channel *kchan);
-int event_kernel_disable_all_tracepoints(struct ltt_kernel_channel *kchan);
-int event_kernel_disable_all(struct ltt_kernel_channel *kchan);
-
-int event_kernel_enable_tracepoint(struct ltt_kernel_channel *kchan,
- struct lttng_event *event);
-int event_kernel_enable_all_tracepoints(struct ltt_kernel_channel *kchan,
- int kernel_tracer_fd);
-int event_kernel_enable_all_syscalls(struct ltt_kernel_channel *kchan,
- int kernel_tracer_fd);
-int event_kernel_enable_all(struct ltt_kernel_channel *kchan,
- int kernel_tracer_fd);
-
-int event_ust_enable_tracepoint(struct ltt_ust_session *usess, int domain,
- struct ltt_ust_channel *uchan, struct lttng_event *event,
+struct agent;
+
+int event_kernel_disable_event(struct ltt_kernel_channel *kchan,
+ const char *event_name, enum lttng_event_type event_type);
+
+int event_kernel_enable_event(struct ltt_kernel_channel *kchan,
+ struct lttng_event *event, char *filter_expression,