From cc02b9d4f1074b3e02cca2c963933ca829049711 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 29 Nov 2017 17:21:53 +0100 Subject: [PATCH] Docs: wrong enum value used in evaluation API description MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/lttng/condition/buffer-usage.h | 8 ++++---- include/lttng/condition/session-consumed-size.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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( -- 2.34.1