8#ifndef LTTNG_CONDITION_H
9#define LTTNG_CONDITION_H
11#include <lttng/lttng-export.h>
80 LTTNG_CONDITION_STATUS_UNKNOWN = -2,
lttng_condition_status
Return type of trigger condition API functions.
Definition condition.h:72
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:77
@ LTTNG_CONDITION_STATUS_UNSUPPORTED
Unsupported feature.
Definition condition.h:89
@ LTTNG_CONDITION_STATUS_UNSET
Not set.
Definition condition.h:86
@ LTTNG_CONDITION_STATUS_INVALID
Unsatisfied precondition.
Definition condition.h:83
@ LTTNG_CONDITION_STATUS_OK
Success.
Definition condition.h:74
@ LTTNG_CONDITION_TYPE_SESSION_ROTATION_ONGOING
Recording session rotation starts.
Definition condition.h:56
@ LTTNG_CONDITION_TYPE_EVENT_RULE_MATCHES
Event rule matches.
Definition condition.h:62
@ LTTNG_CONDITION_TYPE_BUFFER_USAGE_LOW
Definition condition.h:53
@ LTTNG_CONDITION_TYPE_SESSION_ROTATION_COMPLETED
Recording session rotation finishes.
Definition condition.h:59
@ LTTNG_CONDITION_TYPE_UNKNOWN
Unknown (error).
Definition condition.h:65
@ LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE
Definition condition.h:41
@ LTTNG_CONDITION_TYPE_BUFFER_USAGE_HIGH
Definition condition.h:47
Trigger condition (opaque type).