X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-error.h;h=b3d65ee159fc61c0c627bc4a98260a84d6d016c5;hb=a237c7e3081ea5b1b3af384601c1b5489479ba5b;hp=c6e1575e78270e7d29c2ad7afc339cc713b41a90;hpb=3f3c02f811da1ac1c8a88d661c5ee63a4412f38e;p=lttng-tools.git diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index c6e1575e7..b3d65ee15 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -175,6 +175,11 @@ enum lttng_error_code { 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. */ + LTTNG_ERR_ROTATION_NOT_AVAILABLE_KERNEL = 155, /* Rotation feature not supported by the kernel tracer. */ + LTTNG_ERR_CLEAR_RELAY_DISALLOWED = 156, /* LTTng-relayd peer does not allow lttng clear command. */ + LTTNG_ERR_CLEAR_NOT_AVAILABLE_RELAY = 157, /* Clearing a session is not supported by the relay daemon. */ + LTTNG_ERR_CLEAR_FAIL_CONSUMER = 158, /* Clear failure on consumer */ + LTTNG_ERR_ROTATION_AFTER_STOP_CLEAR = 159, /* Session was already cleared since it became inactive. */ /* MUST be last element */ LTTNG_ERR_NR, /* Last element */