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 event record channel name of the “event record channel buffer usage ...
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 “event record channel buffer usage bec...
enum lttng_condition_status lttng_condition_buffer_usage_set_channel_name(struct lttng_condition *condition, const char *channel_name)
Sets the target event record channel name of the “event record channel buffer usage becomes greater/l...
struct lttng_condition * lttng_condition_buffer_usage_high_create(void)
Creates an initial “event record channel buffer usage becomes greater than” trigger condition to exec...
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 “event record channel buffer usage becomes greater/l...
enum lttng_evaluation_status lttng_evaluation_buffer_usage_get_usage_ratio(const struct lttng_evaluation *evaluation, double *usage)
Sets *usage to the captured event record channel buffer usage ratio of the “event record channel buff...
enum lttng_condition_status lttng_condition_buffer_usage_get_threshold_ratio(const struct lttng_condition *condition, double *threshold)
Sets *threshold to the \lt_obj_event record channel buffer usage ratio threshold of the “event record...
enum lttng_evaluation_status lttng_evaluation_buffer_usage_get_usage(const struct lttng_evaluation *evaluation, uint64_t *usage)
Sets *usage to the captured event record channel buffer usage size of the “event record channel buffe...
struct lttng_condition * lttng_condition_buffer_usage_low_create(void)
Creates an initial “event record channel buffer usage becomes less than” trigger condition to execute...
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 “event record channel buffer usage becomes greater/less...
enum lttng_condition_status lttng_condition_buffer_usage_get_threshold(const struct lttng_condition *condition, uint64_t *threshold)
Sets *threshold to the event record channel buffer usage size (bytes) threshold of the “event record ...
enum lttng_condition_status lttng_condition_buffer_usage_set_threshold_ratio(struct lttng_condition *condition, double threshold)
Sets the \lt_obj_event record channel buffer usage ratio threshold of the “event record channel buffe...
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 “event record channel buffer usage becomes greater/less than” t...
enum lttng_condition_status lttng_condition_buffer_usage_set_threshold(struct lttng_condition *condition, uint64_t threshold)
Sets the \lt_obj_event record channel buffer usage size threshold of the “event record channel buffer...
lttng_condition_status
Return type of trigger condition API functions.
Definition condition.h:72
lttng_evaluation_status
Return type of trigger condition evaluation API functions.
Definition evaluation.h:35
Trigger condition (opaque type).
Trigger condition evaluation (opaque type).