X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconditions%2Fon-event.c;h=9cc80772cb3d85357edcf6e72c7e897db07c3c0e;hp=a10df868ac0d20d83ef1497ffa188e103ef4cf54;hb=3ce811ee6c6c61a2c2c0909cf27e0dd8eea403fc;hpb=c738df170902f40de6d8e53c9f214a5308e4182b diff --git a/src/common/conditions/on-event.c b/src/common/conditions/on-event.c index a10df868a..9cc80772c 100644 --- a/src/common/conditions/on-event.c +++ b/src/common/conditions/on-event.c @@ -1380,23 +1380,25 @@ error: return evaluation; } -enum lttng_evaluation_status lttng_evaluation_on_event_get_captured_values( +enum lttng_evaluation_on_event_status +lttng_evaluation_on_event_get_captured_values( const struct lttng_evaluation *evaluation, const struct lttng_event_field_value **field_val) { struct lttng_evaluation_on_event *hit; - enum lttng_evaluation_status status = LTTNG_EVALUATION_STATUS_OK; + enum lttng_evaluation_on_event_status status = + LTTNG_EVALUATION_ON_EVENT_STATUS_OK; if (!evaluation || !is_on_event_evaluation(evaluation) || !field_val) { - status = LTTNG_EVALUATION_STATUS_INVALID; + status = LTTNG_EVALUATION_ON_EVENT_STATUS_INVALID; goto end; } hit = container_of(evaluation, struct lttng_evaluation_on_event, parent); if (!hit->captured_values) { - status = LTTNG_EVALUATION_STATUS_INVALID; + status = LTTNG_EVALUATION_ON_EVENT_STATUS_NONE; goto end; }