X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.h;h=fd47c7764d25a1fec89a1481eb650c8c13a4a10d;hb=1a9745e5dd05ee33a75c889556d7aa65fb8bc54e;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..fd47c7764 100644 --- a/src/bin/lttng-sessiond/event.h +++ b/src/bin/lttng-sessiond/event.h @@ -28,13 +28,15 @@ 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, char *filter_expression, struct lttng_filter_bytecode *filter, - struct lttng_event_exclusion *exclusion); + struct lttng_event_exclusion *exclusion, + bool internal_event); int event_ust_disable_tracepoint(struct ltt_ust_session *usess, struct ltt_ust_channel *uchan, char *event_name); @@ -46,9 +48,11 @@ 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); + struct lttng_event *event, struct lttng_filter_bytecode *filter, + char *filter_expression); int event_agent_enable_all(struct ltt_ust_session *usess, struct agent *agt, - struct lttng_event *event, struct lttng_filter_bytecode *filter); + struct lttng_event *event, struct lttng_filter_bytecode *filter, + char *filter_expression); int event_agent_disable(struct ltt_ust_session *usess, struct agent *agt, char *event_name);