X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=8d2e1d0022bb101dc528e0b67a50019214fce6a5;hb=6dc3064a30b0cc7cfa9fdd22da1963525dfb7388;hp=be96d9f61f7b8d53cd42bb5a54bd5f7cd5f9dab1;hpb=57f272edb1b4ccb8869e3f5b69eb5461bcb56101;p=lttng-tools.git diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index be96d9f61..8d2e1d002 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -61,7 +61,7 @@ enum lttng_error_code { 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 */