Clean-up: Move agent_apps_ht_by_sock definition to main.c
[lttng-tools.git] / src / bin / lttng-sessiond / event.h
index 536b2be707d05dd4feb6483575109db718d8faf2..37f98608747b6594c4f72867ceeccc9daf72d767 100644 (file)
 #ifndef _LTT_EVENT_H
 #define _LTT_EVENT_H
 
-#include "agent.h"
 #include "trace-kernel.h"
 
+struct agent;
+
 int event_kernel_disable_event(struct ltt_kernel_channel *kchan,
                char *event_name);
 int event_kernel_disable_event_type(struct ltt_kernel_channel *kchan,
@@ -28,7 +29,8 @@ int event_kernel_disable_event_type(struct ltt_kernel_channel *kchan,
 int event_kernel_disable_event_all(struct ltt_kernel_channel *kchan);
 
 int event_kernel_enable_event(struct ltt_kernel_channel *kchan,
-               struct lttng_event *event);
+               struct lttng_event *event, char *filter_expression,
+               struct lttng_filter_bytecode *filter);
 
 int event_ust_enable_tracepoint(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan, struct lttng_event *event,
This page took 0.023259 seconds and 4 git commands to generate.