X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.h;h=d0b1b9dab471dcc8b040c8a3c98e3c0d59b5cd75;hp=5f6bf07b7bef8e0d16e77136d80f2fe0310f0c68;hb=2d97a0067600335f07eecb2c1d9ba68fc164583e;hpb=88f06f1562c6ecd3a5666baa93a57273fbe10437 diff --git a/src/bin/lttng-sessiond/event.h b/src/bin/lttng-sessiond/event.h index 5f6bf07b7..d0b1b9dab 100644 --- a/src/bin/lttng-sessiond/event.h +++ b/src/bin/lttng-sessiond/event.h @@ -23,10 +23,7 @@ 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, - enum lttng_event_type type); -int event_kernel_disable_event_all(struct ltt_kernel_channel *kchan); + const 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, @@ -39,15 +36,20 @@ int event_ust_enable_tracepoint(struct ltt_ust_session *usess, 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); + struct ltt_ust_channel *uchan, const char *event_name); + +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); + const char *event_name); int event_agent_disable_all(struct ltt_ust_session *usess, struct agent *agt); const char *event_get_default_agent_ust_name(enum lttng_domain_type domain);