X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=51ef9ca1ed52773b9e766acafafdf7e061ad422c;hp=be96d9f61f7b8d53cd42bb5a54bd5f7cd5f9dab1;hb=850767541647c102a299d7fbc39c97555ac70224;hpb=a74934bae19f96845f7af4b95a8fae5c2f860747 diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index be96d9f61..51ef9ca1e 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,8 +80,8 @@ 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 */ - /* 51 */ + LTTNG_ERR_START_SESSION_ONCE = 50, /* Session needs to be started once. */ + LTTNG_ERR_SNAPSHOT_FAIL = 51, /* Snapshot record failed. */ /* 52 */ LTTNG_ERR_KERN_LIST_FAIL = 53, /* Kernel listing events failed */ LTTNG_ERR_UST_CALIBRATE_FAIL = 54, /* UST calibration failed */ @@ -113,7 +113,7 @@ enum lttng_error_code { LTTNG_ERR_TRACE_ALREADY_STARTED = 80, /* Tracing already started */ LTTNG_ERR_TRACE_ALREADY_STOPPED = 81, /* Tracing already stopped */ LTTNG_ERR_KERN_EVENT_ENOSYS = 82, /* Kernel event type not supported */ - /* 83 */ + LTTNG_ERR_NEED_CHANNEL_NAME = 83, /* Non-default channel exists within session: channel name needs to be specified with '-c name' */ /* 84 */ /* 85 */ /* 86 */