X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.h;h=61f92438b812bf084e667807dcbbd4e6dfa512d4;hb=2e8d52dfacba81da20f4abeb53f6cb98d8d096d9;hp=cc4a3fa02e0d3f79b5ec52733828aaa35397f0a0;hpb=00a620843422e5c972aee0ada2181b811fc81b92;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/event.h b/src/bin/lttng-sessiond/event.h index cc4a3fa02..61f92438b 100644 --- a/src/bin/lttng-sessiond/event.h +++ b/src/bin/lttng-sessiond/event.h @@ -22,10 +22,7 @@ #include "trace-kernel.h" int event_kernel_disable_event(struct ltt_kernel_channel *kchan, - char *event_name); -int event_kernel_disable_event_type(struct ltt_kernel_channel *kchan, - enum lttng_event_type type); -int event_kernel_disable_event_all(struct ltt_kernel_channel *kchan); + char *event_name, enum lttng_event_type event_type); int event_kernel_enable_event(struct ltt_kernel_channel *kchan, struct lttng_event *event, char *filter_expression, @@ -35,21 +32,20 @@ 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); -int event_ust_enable_all_tracepoints(struct ltt_ust_session *usess, - struct ltt_ust_channel *uchan, - char *filter_expression, - struct lttng_filter_bytecode *filter); 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);