X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fust-ctl.h;h=c4d754ecaf290a69fae840efbad5b99ea850d6c8;hp=36a3e8794c12c0c1831136470cda6519f58b94d2;hb=3ada8405ab6718baa7e1beb75351acbe60ab402f;hpb=baa0e4a9ab389b078f46d4bfe6ab36c41541387f diff --git a/ltt-sessiond/ust-ctl.h b/ltt-sessiond/ust-ctl.h index 36a3e8794..c4d754eca 100644 --- a/ltt-sessiond/ust-ctl.h +++ b/ltt-sessiond/ust-ctl.h @@ -3,8 +3,8 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * as published by the Free Software Foundation; only version 2 + * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -19,13 +19,18 @@ #ifndef _LTT_UST_CTL_H #define _LTT_UST_CTL_H -#include "ltt-sessiond.h" -#include "session.h" +#include -int get_trace_count_per_session(struct ltt_session *session); -void get_traces_per_session(struct ltt_session *session, struct lttng_trace *traces); -int ust_create_trace(struct command_ctx *cmd_ctx); -int ust_start_trace(struct command_ctx *cmd_ctx); -int ust_stop_trace(struct command_ctx *cmd_ctx); +#include "trace-ust.h" -#endif /* _LTT_TRACE_H */ +int ustctl_register_done(int sock); +int ustctl_create_channel(int sock, struct ltt_ust_session *session, + struct lttng_channel *channel); +int ustctl_create_session(int sock, struct ltt_ust_session *session); +int ustctl_destroy_session(int sock, struct ltt_ust_session *session); +int ustctl_disable_channel(int sock, struct ltt_ust_session *session, + struct ltt_ust_channel *chan); +int ustctl_enable_channel(int sock, struct ltt_ust_session *session, + struct ltt_ust_channel *chan); + +#endif /* _LTT_UST_CTL_H */