Clean-up snapshot command error reporting
[lttng-tools.git] / include / lttng / lttng-error.h
index df59f8f7b04c77f1a29e9fc09b160aab04d93f68..db6fe73c27741c2b269063519adda358bd91fea9 100644 (file)
@@ -143,7 +143,8 @@ enum lttng_error_code {
        LTTNG_ERR_PER_PID_SESSION        = 120, /* Per-PID sessions unsupported */
        LTTNG_ERR_KERN_CONTEXT_UNAVAILABLE = 121, /* Context unavailable on this kernel */
        LTTNG_ERR_REGEN_STATEDUMP_FAIL   = 122, /* Failed to regenerate the state dump */
-       LTTNG_ERR_REGEN_STATEDUMP_NOMEM   = 123, /* Failed to regenerate the state dump, not enough memory */
+       LTTNG_ERR_REGEN_STATEDUMP_NOMEM  = 123, /* Failed to regenerate the state dump, not enough memory */
+       LTTNG_ERR_NOT_SNAPSHOT_SESSION   = 124, /* Session is not in snapshot mode. */
 
        /* MUST be last element */
        LTTNG_ERR_NR,                           /* Last element */
This page took 0.026106 seconds and 5 git commands to generate.