+ ret = lttng_evaluation_buffer_usage_high_create_from_payload(
+ &evaluation_view, evaluation);
+ if (ret < 0) {
+ goto end;
+ }
+ evaluation_size += ret;
+ break;
+ case LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE:
+ ret = lttng_evaluation_session_consumed_size_create_from_payload(
+ &evaluation_view, evaluation);
+ if (ret < 0) {
+ goto end;
+ }
+ evaluation_size += ret;
+ break;
+ case LTTNG_CONDITION_TYPE_SESSION_ROTATION_ONGOING:
+ ret = lttng_evaluation_session_rotation_ongoing_create_from_payload(
+ &evaluation_view, evaluation);
+ if (ret < 0) {
+ goto end;
+ }
+ evaluation_size += ret;
+ break;
+ case LTTNG_CONDITION_TYPE_SESSION_ROTATION_COMPLETED:
+ ret = lttng_evaluation_session_rotation_completed_create_from_payload(
+ &evaluation_view, evaluation);
+ if (ret < 0) {
+ goto end;
+ }
+ evaluation_size += ret;
+ break;
+ case LTTNG_CONDITION_TYPE_ON_EVENT:
+ assert(condition);
+ assert(condition->type == LTTNG_CONDITION_TYPE_ON_EVENT);
+ ret = lttng_evaluation_on_event_create_from_payload(
+ container_of(condition,
+ const struct lttng_condition_on_event,
+ parent),