X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=c6e1575e78270e7d29c2ad7afc339cc713b41a90;hb=d4ad24a314cea1020c7cd08b27670f5da495e38d;hp=d6e72df98dcb2d11c5eb950e7fc9d5d906129f2d;hpb=3e3665b89947ebdd812bcfaca1090d22b34d5778;p=lttng-tools.git diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index d6e72df98..c6e1575e7 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -149,7 +149,7 @@ enum lttng_error_code { LTTNG_ERR_TRIGGER_EXISTS = 126, /* Trigger already registered. */ LTTNG_ERR_TRIGGER_NOT_FOUND = 127, /* Trigger not found. */ LTTNG_ERR_COMMAND_CANCELLED = 128, /* Command cancelled. */ - LTTNG_ERR_ROTATION_PENDING = 129, /* Rotate already pending for this session. */ + LTTNG_ERR_ROTATION_PENDING = 129, /* Rotation already pending for this session. */ LTTNG_ERR_ROTATION_NOT_AVAILABLE = 130, /* Rotate feature not available for this type of session (e.g: live) */ LTTNG_ERR_ROTATION_SCHEDULE_SET = 131, /* Schedule type already set for this session. */ LTTNG_ERR_ROTATION_SCHEDULE_NOT_SET = 132, /* No schedule of this type set for this session. */ @@ -173,6 +173,8 @@ enum lttng_error_code { LTTNG_ERR_CLOSE_TRACE_CHUNK_FAIL_CONSUMER = 150, /* trace chunk close failure on consumer */ LTTNG_ERR_TRACE_CHUNK_EXISTS_FAIL_CONSUMER = 151, /* failed to query consumer for trace chunk existence */ LTTNG_ERR_INVALID_PROTOCOL = 152, /* a protocol error occurred */ + LTTNG_ERR_FILE_CREATION_ERROR = 153, /* failed to create a file */ + LTTNG_ERR_TIMER_STOP_ERROR = 154, /* failed to stop timer. */ /* MUST be last element */ LTTNG_ERR_NR, /* Last element */