X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng-sessiond-comm.h;h=e27f4ed6fac50b027febe3297a79684deba15f29;hp=33af994a5d3fb0799413a0985c0415b1aba4498c;hb=0133c1990185d0374ec06a751da23b7a84c54d78;hpb=3817e7df7aa29d8f52f1a4909b4fa6b660494323 diff --git a/include/lttng-sessiond-comm.h b/include/lttng-sessiond-comm.h index 33af994a5..e27f4ed6f 100644 --- a/include/lttng-sessiond-comm.h +++ b/include/lttng-sessiond-comm.h @@ -39,7 +39,7 @@ #define DEFAULT_HOME_CLIENT_UNIX_SOCK "%s/.client-ltt-sessiond" /* Queue size of listen(2) */ -#define MAX_LISTEN 10 +#define MAX_LISTEN 64 /* * Get the error code index from 0 since LTTCOMM_OK start at 1000 @@ -113,6 +113,7 @@ enum lttcomm_return_code { LTTCOMM_KERN_DIR_EXIST, /* Kernel trace directory exist */ LTTCOMM_KERN_NO_SESSION, /* No kernel session found */ LTTCOMM_KERN_LIST_FAIL, /* Kernel listing events failed */ + LTTCOMM_UST_SESS_FAIL, /* UST create session failed */ KCONSUMERD_COMMAND_SOCK_READY, /* when kconsumerd command socket ready */ KCONSUMERD_SUCCESS_RECV_FD, /* success on receiving fds */ KCONSUMERD_ERROR_RECV_FD, /* error on receiving fds */ @@ -207,7 +208,6 @@ struct lttcomm_kconsumerd_msg { * Data structure for the commands sent from sessiond to UST. */ struct lttcomm_ust_msg { - uint32_t cmd_type; /* enum lttcomm_ust_command */ uint32_t handle; uint32_t cmd; union {