Fix: channel names are not validated
[lttng-tools.git] / include / lttng / lttng-error.h
index f4f3a8344d79085d1e1f50a03637c60dfd98df52..9d0bd474342856a116f92d1982ee2303fa934a1c 100644 (file)
@@ -110,7 +110,7 @@ enum lttng_error_code {
        LTTNG_ERR_LOAD_INVALID_CONFIG    = 87,  /* Invalid session configuration */
        LTTNG_ERR_LOAD_IO_FAIL           = 88,  /* IO error while reading a session configuration */
        LTTNG_ERR_LOAD_SESSION_NOENT     = 89,  /* Session file not found */
-       /* 90 */
+       LTTNG_ERR_MAX_SIZE_INVALID       = 90,  /* Snapshot max size is invalid. */
        /* 91 */
        /* 92 */
        /* 93 */
@@ -132,6 +132,8 @@ enum lttng_error_code {
        LTTNG_ERR_NO_CONSUMER            = 109, /* No consumer exist for the session */
        LTTNG_ERR_EXCLUSION_INVAL        = 110, /* Invalid event exclusion data */
        LTTNG_ERR_EXCLUSION_NOMEM        = 111, /* Lack of memory while processing event exclusions */
+       /* 112 */
+       LTTNG_ERR_INVALID_CHANNEL_NAME   = 113, /* Invalid channel name */
 
        /* MUST be last element */
        LTTNG_ERR_NR,                           /* Last element */
This page took 0.02309 seconds and 4 git commands to generate.