Docs: verb/noun confusion in comment
[lttng-tools.git] / include / lttng / lttng-error.h
index efbd06625512f5e24aee0a31d016b8283fd571c9..c6e1575e78270e7d29c2ad7afc339cc713b41a90 100644 (file)
@@ -149,7 +149,7 @@ enum lttng_error_code {
        LTTNG_ERR_TRIGGER_EXISTS         = 126, /* Trigger already registered. */
        LTTNG_ERR_TRIGGER_NOT_FOUND      = 127, /* Trigger not found. */
        LTTNG_ERR_COMMAND_CANCELLED      = 128, /* Command cancelled. */
-       LTTNG_ERR_ROTATION_PENDING       = 129, /* Rotate already pending for this session. */
+       LTTNG_ERR_ROTATION_PENDING       = 129, /* Rotation already pending for this session. */
        LTTNG_ERR_ROTATION_NOT_AVAILABLE = 130, /* Rotate feature not available for this type of session (e.g: live) */
        LTTNG_ERR_ROTATION_SCHEDULE_SET  = 131, /* Schedule type already set for this session. */
        LTTNG_ERR_ROTATION_SCHEDULE_NOT_SET = 132, /* No schedule of this type set for this session. */
@@ -172,6 +172,9 @@ enum lttng_error_code {
        LTTNG_ERR_CREATE_TRACE_CHUNK_FAIL_CONSUMER     = 149, /* trace chunk creation failure on consumer */
        LTTNG_ERR_CLOSE_TRACE_CHUNK_FAIL_CONSUMER      = 150, /* trace chunk close failure on consumer */
        LTTNG_ERR_TRACE_CHUNK_EXISTS_FAIL_CONSUMER     = 151, /* failed to query consumer for trace chunk existence */
+       LTTNG_ERR_INVALID_PROTOCOL                     = 152, /* a protocol error occurred */
+       LTTNG_ERR_FILE_CREATION_ERROR                  = 153, /* failed to create a file */
+       LTTNG_ERR_TIMER_STOP_ERROR                     = 154, /* failed to stop timer. */
 
        /* MUST be last element */
        LTTNG_ERR_NR,                           /* Last element */
This page took 0.024201 seconds and 5 git commands to generate.