Fix kconsumerd number of fd expected
[lttng-tools.git] / include / lttng-sessiond-comm.h
index 60005ac5e7d0552f350a1a978ef19c99534647f9..7da343a9d899a2509db98cb6caee827523541c39 100644 (file)
@@ -38,7 +38,7 @@
 #define DEFAULT_HOME_CLIENT_UNIX_SOCK       "%s/.client-ltt-sessiond"
 
 /* Queue size of listen(2) */
-#define MAX_LISTEN 64
+#define LTTNG_SESSIOND_COMM_MAX_LISTEN 64
 
 /*
  * Get the error code index from 0 since LTTCOMM_OK start at 1000
@@ -119,6 +119,7 @@ enum lttcomm_return_code {
        CONSUMERD_COMMAND_SOCK_READY,           /* when consumerd command socket ready */
        CONSUMERD_SUCCESS_RECV_FD,              /* success on receiving fds */
        CONSUMERD_ERROR_RECV_FD,                /* error on receiving fds */
+       CONSUMERD_ERROR_RECV_CMD,               /* error on receiving command */
        CONSUMERD_POLL_ERROR,                   /* Error in polling thread in kconsumerd */
        CONSUMERD_POLL_NVAL,                    /* Poll on closed fd */
        CONSUMERD_POLL_HUP,                     /* All fds have hungup */
This page took 0.022883 seconds and 4 git commands to generate.