X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fcondition%2Fon-event-internal.h;h=29a2b27b587ccc2e083798be4c709af7f35f7d72;hb=b006f85d9d07af970f24cfa5ab077bfe599d75c9;hp=cc8f1cdf9e2eb1afb4eb4f0191d4d0b172902e6b;hpb=35a9ac4170f36547aa2ae7c19ccbb7bbb0bcf71b;p=lttng-tools.git diff --git a/include/lttng/condition/on-event-internal.h b/include/lttng/condition/on-event-internal.h index cc8f1cdf9..29a2b27b5 100644 --- a/include/lttng/condition/on-event-internal.h +++ b/include/lttng/condition/on-event-internal.h @@ -25,7 +25,6 @@ struct lttng_condition_on_event { struct lttng_condition parent; struct lttng_event_rule *rule; - LTTNG_OPTIONAL(uint64_t) error_count; /* * Internal use only. * Error accounting counter index. @@ -38,7 +37,6 @@ struct lttng_condition_on_event { struct lttng_evaluation_on_event { struct lttng_evaluation parent; - char *name; /* MessagePack-encoded captured event field values. */ struct lttng_dynamic_buffer capture_payload; @@ -53,13 +51,6 @@ struct lttng_evaluation_on_event { 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, @@ -79,18 +70,9 @@ LTTNG_HIDDEN 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);