X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=db6fe73c27741c2b269063519adda358bd91fea9;hp=df59f8f7b04c77f1a29e9fc09b160aab04d93f68;hb=903ef6855b15a3352dee0d9870ca1b918669aa80;hpb=62a0c2d4933fd52b78c896cf40a935e42ea94360 diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index df59f8f7b..db6fe73c2 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -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 */