Fix: report error to client on consumerd error
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.c
index 11319f333e84f34d30a75132d981444d136f7e24..6ad4a3775198959b1ded8ffc04f50eb8bcbba7ea 100644 (file)
@@ -123,6 +123,8 @@ static const char *lttcomm_readable_code[] = {
        [ LTTCOMM_ERR_INDEX(CONSUMERD_SPLICE_ESPIPE) ] = "consumerd splice ESPIPE",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_NO_EVENT) ] = "Event not found",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_INVALID) ] = "Invalid parameter",
+       [ LTTCOMM_ERR_INDEX(LTTCOMM_NO_USTCONSUMERD) ] = "No UST consumer detected",
+       [ LTTCOMM_ERR_INDEX(LTTCOMM_NO_KERNCONSUMERD) ] = "No kernel consumer detected",
 };
 
 /*
This page took 0.032342 seconds and 4 git commands to generate.