Docs: wrong enum value used in evaluation API description
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Nov 2017 16:21:53 +0000 (17:21 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:29 +0000 (12:12 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/condition/buffer-usage.h
include/lttng/condition/session-consumed-size.h

index 3784bc9af03bedecc46991fff4e80d41a7da22e7..d5ff291eee785bd60557e07fce301633b30a9d76 100644 (file)
@@ -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(
index 2aaef565f7d0717fbd8482aee581369f19c6edc8..1d2ba05ba22ccdaa2260c8b19e21ed0f2f450ea3 100644 (file)
@@ -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(
This page took 0.028413 seconds and 4 git commands to generate.