8#ifndef LTTNG_CONDITION_BUFFER_USAGE_H
9#define LTTNG_CONDITION_BUFFER_USAGE_H
11#include <lttng/condition/condition.h>
12#include <lttng/condition/evaluation.h>
13#include <lttng/domain.h>
14#include <lttng/lttng-export.h>
215 uint64_t *threshold);
294 const char **session_name);
327 const char *session_name);
370 const char **channel_name);
403 const char *channel_name);
lttng_domain_type
Tracing domain type (tracer type).
Definition domain.h:27
enum lttng_condition_status lttng_condition_buffer_usage_get_channel_name(const struct lttng_condition *condition, const char **channel_name)
Sets *channel_name to the target channel name of the “channel buffer usage becomes greater/less than”...
enum lttng_condition_status lttng_condition_buffer_usage_get_session_name(const struct lttng_condition *condition, const char **session_name)
Sets *session_name to the target recording session name of the “channel buffer usage becomes greater/...
enum lttng_condition_status lttng_condition_buffer_usage_set_channel_name(struct lttng_condition *condition, const char *channel_name)
Sets the target channel name of the “channel buffer usage becomes greater/less than” trigger conditio...
struct lttng_condition * lttng_condition_buffer_usage_high_create(void)
Creates an initial “channel buffer usage becomes greater than” trigger condition to execute an action...
enum lttng_condition_status lttng_condition_buffer_usage_get_domain_type(const struct lttng_condition *condition, enum lttng_domain_type *domain)
Sets *domain to the target tracing domain of the “channel buffer usage becomes greater/less than” tri...
enum lttng_evaluation_status lttng_evaluation_buffer_usage_get_usage_ratio(const struct lttng_evaluation *evaluation, double *usage)
Sets *usage to the captured channel buffer usage ratio of the “channel buffer usage becomes greater/l...
enum lttng_condition_status lttng_condition_buffer_usage_get_threshold_ratio(const struct lttng_condition *condition, double *threshold)
Sets *threshold to the channel buffer usage ratio threshold of the “channel buffer usage becomes grea...
enum lttng_evaluation_status lttng_evaluation_buffer_usage_get_usage(const struct lttng_evaluation *evaluation, uint64_t *usage)
Sets *usage to the captured channel buffer usage size of the “channel buffer usage becomes greater/le...
struct lttng_condition * lttng_condition_buffer_usage_low_create(void)
Creates an initial “channel buffer usage becomes less than” trigger condition to execute an action wh...
enum lttng_condition_status lttng_condition_buffer_usage_set_session_name(struct lttng_condition *condition, const char *session_name)
Sets the target recording session name of the “channel buffer usage becomes greater/less than” trigge...
enum lttng_condition_status lttng_condition_buffer_usage_get_threshold(const struct lttng_condition *condition, uint64_t *threshold)
Sets *threshold to the channel buffer usage size (bytes) threshold of the “channel buffer usage becom...
enum lttng_condition_status lttng_condition_buffer_usage_set_threshold_ratio(struct lttng_condition *condition, double threshold)
Sets the channel buffer usage ratio threshold of the “channel buffer usage becomes greater/less than”...
enum lttng_condition_status lttng_condition_buffer_usage_set_domain_type(struct lttng_condition *condition, enum lttng_domain_type domain)
Sets the target tracing domain of the “channel buffer usage becomes greater/less than” trigger condit...
enum lttng_condition_status lttng_condition_buffer_usage_set_threshold(struct lttng_condition *condition, uint64_t threshold)
Sets the channel buffer usage size threshold of the “channel buffer usage becomes greater/less than” ...
lttng_condition_status
Return type of trigger condition API functions.
Definition condition.h:64
lttng_evaluation_status
Return type of trigger condition evaluation API functions.
Definition evaluation.h:35
Trigger condition (opaque type).
Trigger condition evaluation (opaque type).