X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.h;h=37f98608747b6594c4f72867ceeccc9daf72d767;hb=47b7e2f9d1199c32f87138f4c226e9c5153c7968;hp=536b2be707d05dd4feb6483575109db718d8faf2;hpb=d0ae4ea864f84fa2456563abb20fe42e5cc29625;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/event.h b/src/bin/lttng-sessiond/event.h index 536b2be70..37f986087 100644 --- a/src/bin/lttng-sessiond/event.h +++ b/src/bin/lttng-sessiond/event.h @@ -18,9 +18,10 @@ #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,