X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=4e98f43bea86eca94969a4b1de859ebf01a12f00;hb=5c786dedd0156b93984f89ba47ec841277ed7dae;hp=2bcc2c365436efda24e18440c111a7458fbb2a20;hpb=785d2d0dc3aec3a4e44fcf677155dd07e8e4cc1f;p=lttng-tools.git diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index 2bcc2c365..4e98f43be 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -52,16 +52,16 @@ enum lttng_error_code { LTTNG_ERR_NO_SESSIOND = 19, /* No session daemon available */ LTTNG_ERR_SET_URL = 20, /* Error setting URL */ LTTNG_ERR_URL_EXIST = 21, /* URL already exists. */ - /* 22 */ + LTTNG_ERR_BUFFER_NOT_SUPPORTED = 22, /* Buffer type not supported. */ LTTNG_ERR_SESS_NOT_FOUND = 23, /* Session by name not found */ - /* 24 */ + 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,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 */