X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=1b5ea699af63ef066e3b6ed7582f7d03a5eda13a;hb=db66e57489e5014289dc1d831e1eac90ac4fc0da;hp=df59f8f7b04c77f1a29e9fc09b160aab04d93f68;hpb=c25613651ac7525a16b9877230a682fc1a64e036;p=lttng-tools.git diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index df59f8f7b..1b5ea699a 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -143,7 +143,12 @@ 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. */ + LTTNG_ERR_INVALID_TRIGGER = 125, /* Invalid trigger provided. */ + LTTNG_ERR_TRIGGER_EXISTS = 126, /* Trigger already registered. */ + LTTNG_ERR_TRIGGER_NOT_FOUND = 127, /* Trigger not found. */ + LTTNG_ERR_COMMAND_CANCELLED = 128, /* Command cancelled. */ /* MUST be last element */ LTTNG_ERR_NR, /* Last element */