X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=8d2e1d0022bb101dc528e0b67a50019214fce6a5;hb=6dc3064a30b0cc7cfa9fdd22da1963525dfb7388;hp=4e9b37f6c738eb86569fd500957c9909ee0489b8;hpb=7972aab22f74b18faa168c0482216a3dd711a075;p=lttng-tools.git diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index 4e9b37f6c..8d2e1d002 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -56,12 +56,12 @@ enum lttng_error_code { LTTNG_ERR_SESS_NOT_FOUND = 23, /* Session by name not found */ LTTNG_ERR_BUFFER_TYPE_MISMATCH = 24, /* Buffer type mismatched. */ LTTNG_ERR_FATAL = 25, /* Fatal error */ - /* 26 */ + LTTNG_ERR_NOMEM = 26, /* Not enough memory. */ LTTNG_ERR_SELECT_SESS = 27, /* Must select a session */ LTTNG_ERR_EXIST_SESS = 28, /* Session name already exist */ LTTNG_ERR_NO_EVENT = 29, /* No event found */ LTTNG_ERR_CONNECT_FAIL = 30, /* Unable to connect to unix socket */ - /* 31 */ + LTTNG_ERR_SNAPSHOT_OUTPUT_EXIST = 31, /* Snapshot output already exists */ LTTNG_ERR_EPERM = 32, /* Permission denied */ LTTNG_ERR_KERN_NA = 33, /* Kernel tracer unavalable */ LTTNG_ERR_KERN_VERSION = 34, /* Kernel tracer not compatible */ @@ -80,7 +80,7 @@ enum lttng_error_code { LTTNG_ERR_KERN_STOP_FAIL = 47, /* Kernel stop trace failed */ LTTNG_ERR_KERN_CONSUMER_FAIL = 48, /* Kernel consumer start failed */ LTTNG_ERR_KERN_STREAM_FAIL = 49, /* Kernel create stream failed */ - /* 50 */ + LTTNG_ERR_START_SESSION_ONCE = 50, /* Session needs to be started once. */ /* 51 */ /* 52 */ LTTNG_ERR_KERN_LIST_FAIL = 53, /* Kernel listing events failed */