X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fevent.h;h=1297b6c486cca948a0ac309d635c12bd5ff5c1ee;hb=be6a6276f221b9bc83c16e3c3ba6ca76f5f35350;hp=a8b75192fd2dd719e230f46adb73a5feb4e9313f;hpb=d3a56674bd25163dcd13140ceb5781da8b30dcd3;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/event.h b/src/bin/lttng-sessiond/event.h index a8b75192f..1297b6c48 100644 --- a/src/bin/lttng-sessiond/event.h +++ b/src/bin/lttng-sessiond/event.h @@ -35,14 +35,26 @@ int event_kernel_enable_all_syscalls(struct ltt_kernel_channel *kchan, int event_kernel_enable_all(struct ltt_kernel_channel *kchan, int kernel_tracer_fd); -int event_ust_enable_tracepoint(struct ltt_ust_session *usess, int domain, +int event_ust_enable_tracepoint(struct ltt_ust_session *usess, struct ltt_ust_channel *uchan, struct lttng_event *event, - struct lttng_filter_bytecode *filter); -int event_ust_disable_tracepoint(struct ltt_ust_session *usess, int domain, + char *filter_expression, + struct lttng_filter_bytecode *filter, + struct lttng_event_exclusion *exclusion); +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, int domain, - struct ltt_ust_channel *uchan, struct lttng_filter_bytecode *filter); -int event_ust_disable_all_tracepoints(struct ltt_ust_session *usess, int domain, +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_jul_enable(struct ltt_ust_session *usess, struct lttng_event *event, + struct lttng_filter_bytecode *filter); +int event_jul_enable_all(struct ltt_ust_session *usess, + struct lttng_event *event, struct lttng_filter_bytecode *filter); + +int event_jul_disable(struct ltt_ust_session *usess, char *event_name); +int event_jul_disable_all(struct ltt_ust_session *usess); + #endif /* _LTT_EVENT_H */