8#ifndef LTTNG_CONDITION_H
9#define LTTNG_CONDITION_H
11#include <lttng/lttng-export.h>
72 LTTNG_CONDITION_STATUS_UNKNOWN = -2,
lttng_condition_status
Return type of trigger condition API functions.
Definition condition.h:64
enum lttng_condition_type lttng_condition_get_type(const struct lttng_condition *condition)
Returns the type of the trigger condition condition.
lttng_condition_type
Trigger condition type.
Definition condition.h:36
void lttng_condition_destroy(struct lttng_condition *condition)
Destroys the trigger condition condition.
@ LTTNG_CONDITION_STATUS_ERROR
Error.
Definition condition.h:69
@ LTTNG_CONDITION_STATUS_UNSUPPORTED
Unsupported feature.
Definition condition.h:81
@ LTTNG_CONDITION_STATUS_UNSET
Not set.
Definition condition.h:78
@ LTTNG_CONDITION_STATUS_INVALID
Unsatisfied precondition.
Definition condition.h:75
@ LTTNG_CONDITION_STATUS_OK
Success.
Definition condition.h:66
@ LTTNG_CONDITION_TYPE_SESSION_ROTATION_ONGOING
Recording session rotation starts.
Definition condition.h:48
@ LTTNG_CONDITION_TYPE_EVENT_RULE_MATCHES
Event rule matches.
Definition condition.h:54
@ LTTNG_CONDITION_TYPE_BUFFER_USAGE_LOW
Channel buffer usage becomes less than.
Definition condition.h:45
@ LTTNG_CONDITION_TYPE_SESSION_ROTATION_COMPLETED
Recording session rotation finishes.
Definition condition.h:51
@ LTTNG_CONDITION_TYPE_UNKNOWN
Unknown (error).
Definition condition.h:57
@ LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE
Recording session consumed data size becomes greater than".
Definition condition.h:39
@ LTTNG_CONDITION_TYPE_BUFFER_USAGE_HIGH
Channel buffer usage becomes greater than.
Definition condition.h:42
Trigger condition (opaque type).