Add the support for multiple agent
[lttng-tools.git] / src / bin / lttng-sessiond / event.h
index a8b75192fd2dd719e230f46adb73a5feb4e9313f..c14c00595a9311b402816d25955dc88bb05a35b0 100644 (file)
@@ -18,6 +18,7 @@
 #ifndef _LTT_EVENT_H
 #define _LTT_EVENT_H
 
+#include "agent.h"
 #include "trace-kernel.h"
 
 int event_kernel_disable_tracepoint(struct ltt_kernel_channel *kchan,
@@ -35,14 +36,27 @@ int event_kernel_enable_all_syscalls(struct ltt_kernel_channel *kchan,
 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,
+int event_ust_enable_tracepoint(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan, struct lttng_event *event,
-               struct lttng_filter_bytecode *filter);
-int event_ust_disable_tracepoint(struct ltt_ust_session *usess, int domain,
+               char *filter_expression,
+               struct lttng_filter_bytecode *filter,
+               struct lttng_event_exclusion *exclusion);
+int event_ust_disable_tracepoint(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan, char *event_name);
-int event_ust_enable_all_tracepoints(struct ltt_ust_session *usess, int domain,
-               struct ltt_ust_channel *uchan, struct lttng_filter_bytecode *filter);
-int event_ust_disable_all_tracepoints(struct ltt_ust_session *usess, int domain,
+int event_ust_enable_all_tracepoints(struct ltt_ust_session *usess,
+               struct ltt_ust_channel *uchan,
+               char *filter_expression,
+               struct lttng_filter_bytecode *filter);
+int event_ust_disable_all_tracepoints(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan);
 
+int event_agent_enable(struct ltt_ust_session *usess, struct agent *agt,
+               struct lttng_event *event, struct lttng_filter_bytecode *filter);
+int event_agent_enable_all(struct ltt_ust_session *usess, struct agent *agt,
+               struct lttng_event *event, struct lttng_filter_bytecode *filter);
+
+int event_agent_disable(struct ltt_ust_session *usess, struct agent *agt,
+               char *event_name);
+int event_agent_disable_all(struct ltt_ust_session *usess, struct agent *agt);
+
 #endif /* _LTT_EVENT_H */
This page took 0.025396 seconds and 5 git commands to generate.