#include <common/sessiond-comm/sessiond-comm.h>
#include <common/compat/poll.h>
#include <common/compat/socket.h>
+#include <common/compat/uuid.h>
#include "session.h"
#include "ust-app.h"
CONSUMER_ERROR = 3,
};
+/* Unique identifier of a session daemon instance. */
+extern lttng_uuid sessiond_uuid;
+
/*
* This consumer daemon state is used to validate if a client command will be
* able to reach the consumer. If not, the client is informed. For instance,
* session daemon from the lttng client.
*/
struct command_ctx {
- int ust_sock;
unsigned int lttng_msg_size;
struct ltt_session *session;
struct lttcomm_lttng_msg *llm;
extern struct sessiond_config config;
-extern int lttng_sessiond_ready;
-
extern int ust_consumerd64_fd, ust_consumerd32_fd;
/* Parent PID for --sig-parent option */
void sessiond_close_quit_pipe(void);
int sessiond_set_thread_pollset(struct lttng_poll_event *events, size_t size);
-void sessiond_notify_ready(void);
void sessiond_signal_parents(void);
void sessiond_set_client_thread_state(bool running);