X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2Fust-ctl.h;h=c4d754ecaf290a69fae840efbad5b99ea850d6c8;hb=558e70e9829c97ecd228516f6e312768be0536d7;hp=28b319da6072c9d48a4d2b39ed063b6bf528a237;hpb=f3ed775ef4842019b396f06095b053c3a70bc3c8;p=lttng-tools.git diff --git a/ltt-sessiond/ust-ctl.h b/ltt-sessiond/ust-ctl.h index 28b319da6..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,14 +19,18 @@ #ifndef _LTT_UST_CTL_H #define _LTT_UST_CTL_H -#include "ltt-sessiond.h" -#include "session.h" -#include "trace.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 */