Fix: don't start session if no channel
[lttng-tools.git] / include / lttng / lttng-error.h
index 5e0dd07b272027b9b50539d6a17c6d73f2f362cc..a94fcd69747775d0faded80ec0d4b23e1392c9ed 100644 (file)
@@ -101,8 +101,8 @@ enum lttng_error_code {
        LTTNG_ERR_UST_CONSUMER64_FAIL    = 68,  /* 64-bit UST consumer start failed */
        LTTNG_ERR_UST_CONSUMER32_FAIL    = 69,  /* 32-bit UST consumer start failed */
        LTTNG_ERR_UST_STREAM_FAIL        = 70,  /* UST create stream failed */
-       /* 71 */
-       /* 72 */
+       LTTNG_ERR_SNAPSHOT_NODATA        = 71,  /* No data in snapshot. */
+       LTTNG_ERR_NO_CHANNEL             = 72,  /* No channel found in the session. */
        /* 73 */
        LTTNG_ERR_UST_LIST_FAIL          = 74,  /* UST listing events failed */
        LTTNG_ERR_UST_EVENT_EXIST        = 75,  /* UST event exist */
This page took 0.02361 seconds and 4 git commands to generate.