struct lttng_condition parent;
struct lttng_event_rule *rule;
- LTTNG_OPTIONAL(uint64_t) error_count;
/*
* Internal use only.
* Error accounting counter index.
struct lttng_evaluation_on_event {
struct lttng_evaluation parent;
- char *name;
/* MessagePack-encoded captured event field values. */
struct lttng_dynamic_buffer capture_payload;
struct lttng_event_field_value *captured_values;
};
-struct lttng_evaluation_on_event_comm {
- /* Includes the null terminator. */
- uint32_t trigger_name_length;
- /* Trigger name. */
- char payload[];
-} LTTNG_PACKED;
-
LTTNG_HIDDEN
ssize_t lttng_condition_on_event_create_from_payload(
struct lttng_payload_view *view,
uint64_t lttng_condition_on_event_get_error_counter_index(
const struct lttng_condition *condition);
-LTTNG_HIDDEN
-uint64_t lttng_condition_on_event_get_error_count(
- const struct lttng_condition *condition);
-
-LTTNG_HIDDEN
-void lttng_condition_on_event_set_error_count(struct lttng_condition *condition,
- uint64_t error_count);
-
LTTNG_HIDDEN
struct lttng_evaluation *lttng_evaluation_on_event_create(
const struct lttng_condition_on_event *condition,
- const char* trigger_name,
const char *capture_payload, size_t capture_payload_size,
bool decode_capture_payload);