lttng.h API update: set filter becomes enable event with filter
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.h
index 5cbd1da24b6f468516dfdedd04cb68f27ed448ec..c8619a0f6e270c8c58ad665d5ff148da153a13fa 100644 (file)
@@ -19,7 +19,6 @@
 #define CMD_H
 
 #include "context.h"
 #define CMD_H
 
 #include "context.h"
-#include "filter.h"
 #include "session.h"
 
 /*
 #include "session.h"
 
 /*
@@ -50,9 +49,11 @@ int cmd_set_filter(struct ltt_session *session, int domain,
                char *channel_name, struct lttng_event *event,
                struct lttng_filter_bytecode *bytecode);
 int cmd_enable_event(struct ltt_session *session, int domain,
                char *channel_name, struct lttng_event *event,
                struct lttng_filter_bytecode *bytecode);
 int cmd_enable_event(struct ltt_session *session, int domain,
-               char *channel_name, struct lttng_event *event, int wpipe);
+               char *channel_name, struct lttng_event *event,
+               struct lttng_filter_bytecode *filter, int wpipe);
 int cmd_enable_event_all(struct ltt_session *session, int domain,
 int cmd_enable_event_all(struct ltt_session *session, int domain,
-               char *channel_name, int event_type, int wpipe);
+               char *channel_name, int event_type,
+               struct lttng_filter_bytecode *filter, int wpipe);
 
 /* Trace session action commands */
 int cmd_start_trace(struct ltt_session *session);
 
 /* Trace session action commands */
 int cmd_start_trace(struct ltt_session *session);
This page took 0.024233 seconds and 4 git commands to generate.