From: Jérémie Galarneau Date: Wed, 29 Nov 2017 16:21:53 +0000 (+0100) Subject: Docs: wrong enum value used in evaluation API description X-Git-Tag: v2.11.0-rc1~323 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cc02b9d4f1074b3e02cca2c963933ca829049711;p=lttng-tools.git Docs: wrong enum value used in evaluation API description Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/condition/buffer-usage.h b/include/lttng/condition/buffer-usage.h index 3784bc9af..d5ff291ee 100644 --- a/include/lttng/condition/buffer-usage.h +++ b/include/lttng/condition/buffer-usage.h @@ -246,8 +246,8 @@ lttng_condition_buffer_usage_set_domain_type( /* * Get the buffer usage ratio property of a buffer usage evaluation. * - * Returns LTTNG_CONDITION_STATUS_OK on success and a threshold expressed as - * as a ratio of the buffer's capacity, or LTTNG_CONDITION_STATUS_INVALID if + * Returns LTTNG_EVALUATION_STATUS_OK on success and a threshold expressed as + * as a ratio of the buffer's capacity, or LTTNG_EVALUATION_STATUS_INVALID if * an invalid parameter is passed. */ extern enum lttng_evaluation_status @@ -258,8 +258,8 @@ lttng_evaluation_buffer_usage_get_usage_ratio( /* * Get the buffer usage property of a buffer usage evaluation. * - * Returns LTTNG_CONDITION_STATUS_OK on success and a threshold expressed in - * bytes, or LTTNG_CONDITION_STATUS_INVALID if an invalid parameter is passed. + * Returns LTTNG_EVALUATION_STATUS_OK on success and a threshold expressed in + * bytes, or LTTNG_EVALUATION_STATUS_INVALID if an invalid parameter is passed. */ extern enum lttng_evaluation_status lttng_evaluation_buffer_usage_get_usage( diff --git a/include/lttng/condition/session-consumed-size.h b/include/lttng/condition/session-consumed-size.h index 2aaef565f..1d2ba05ba 100644 --- a/include/lttng/condition/session-consumed-size.h +++ b/include/lttng/condition/session-consumed-size.h @@ -124,8 +124,8 @@ lttng_condition_session_consumed_size_set_session_name( /* * Get the session consumed property of a session consumed size evaluation. * - * Returns LTTNG_CONDITION_STATUS_OK on success and a threshold expressed in - * bytes, or LTTNG_CONDITION_STATUS_INVALID if an invalid parameter is passed. + * Returns LTTNG_EVALUATION_STATUS_OK on success and a threshold expressed in + * bytes, or LTTNG_EVALUATION_STATUS_INVALID if an invalid parameter is passed. */ extern enum lttng_evaluation_status lttng_evaluation_session_consumed_size_get_consumed_size(