X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.h;h=c14c00595a9311b402816d25955dc88bb05a35b0;hp=1297b6c486cca948a0ac309d635c12bd5ff5c1ee;hb=fefd409b002735b415c5f653cdb2587be454f145;hpb=be6a6276f221b9bc83c16e3c3ba6ca76f5f35350 diff --git a/src/bin/lttng-sessiond/event.h b/src/bin/lttng-sessiond/event.h index 1297b6c48..c14c00595 100644 --- a/src/bin/lttng-sessiond/event.h +++ b/src/bin/lttng-sessiond/event.h @@ -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, @@ -49,12 +50,13 @@ int event_ust_enable_all_tracepoints(struct ltt_ust_session *usess, int event_ust_disable_all_tracepoints(struct ltt_ust_session *usess, struct ltt_ust_channel *uchan); -int event_jul_enable(struct ltt_ust_session *usess, struct lttng_event *event, - struct lttng_filter_bytecode *filter); -int event_jul_enable_all(struct ltt_ust_session *usess, +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_jul_disable(struct ltt_ust_session *usess, char *event_name); -int event_jul_disable_all(struct ltt_ust_session *usess); +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 */