common error: Add errors for clear feature
[lttng-tools.git] / include / lttng / lttng-error.h
index c032d5a7d3757a37c0d2a1e338467f20c29dd137..b3d65ee159fc61c0c627bc4a98260a84d6d016c5 100644 (file)
@@ -176,6 +176,10 @@ enum lttng_error_code {
        LTTNG_ERR_FILE_CREATION_ERROR                  = 153, /* failed to create a file */
        LTTNG_ERR_TIMER_STOP_ERROR                     = 154, /* failed to stop timer. */
        LTTNG_ERR_ROTATION_NOT_AVAILABLE_KERNEL = 155, /* Rotation feature not supported by the kernel tracer. */
+       LTTNG_ERR_CLEAR_RELAY_DISALLOWED   = 156, /* LTTng-relayd peer does not allow lttng clear command. */
+       LTTNG_ERR_CLEAR_NOT_AVAILABLE_RELAY = 157, /* Clearing a session is not supported by the relay daemon. */
+       LTTNG_ERR_CLEAR_FAIL_CONSUMER    = 158, /* Clear failure on consumer */
+       LTTNG_ERR_ROTATION_AFTER_STOP_CLEAR = 159, /* Session was already cleared since it became inactive. */
 
        /* MUST be last element */
        LTTNG_ERR_NR,                           /* Last element */
This page took 0.022807 seconds and 4 git commands to generate.