Fix: forbid session name creation if contains /
[lttng-tools.git] / include / lttng / lttng-error.h
index 817cbe8f1bab8b30e2717e327d843ce45a2616b3..db0a11ffab3863be1f386c986b1d5179a7d3da6f 100644 (file)
@@ -102,8 +102,8 @@ enum lttng_error_code {
        LTTNG_ERR_UST_CONSUMER32_FAIL    = 69,  /* 32-bit UST consumer start failed */
        LTTNG_ERR_UST_STREAM_FAIL        = 70,  /* UST create stream failed */
        LTTNG_ERR_SNAPSHOT_NODATA        = 71,  /* No data in snapshot. */
-       /* 72 */
-       /* 73 */
+       LTTNG_ERR_NO_CHANNEL             = 72,  /* No channel found in the session. */
+       LTTNG_ERR_SESSION_INVALID_CHAR   = 73,  /* Invalid characters found in session name. */
        LTTNG_ERR_UST_LIST_FAIL          = 74,  /* UST listing events failed */
        LTTNG_ERR_UST_EVENT_EXIST        = 75,  /* UST event exist */
        LTTNG_ERR_UST_EVENT_NOT_FOUND    = 76,  /* UST event not found */
This page took 0.023292 seconds and 4 git commands to generate.