X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Fnotification.c;h=e7101bb9f69f6bc97de662f9df1187aeeb666108;hp=68a76f922a08ded50d602ca606a235300c76c9b5;hb=3ce811ee6c6c61a2c2c0909cf27e0dd8eea403fc;hpb=c738df170902f40de6d8e53c9f214a5308e4182b diff --git a/tests/regression/tools/notification/notification.c b/tests/regression/tools/notification/notification.c index 68a76f922..e7101bb9f 100644 --- a/tests/regression/tools/notification/notification.c +++ b/tests/regression/tools/notification/notification.c @@ -2306,7 +2306,7 @@ static int validator_notification_trigger_capture( { int ret; unsigned int capture_count, i; - enum lttng_evaluation_status evaluation_status; + enum lttng_evaluation_on_event_status on_event_evaluation_status; enum lttng_event_field_value_status event_field_value_status; const struct lttng_evaluation *evaluation; const struct lttng_event_field_value *captured_fields; @@ -2319,11 +2319,12 @@ static int validator_notification_trigger_capture( goto end; } - evaluation_status = lttng_evaluation_on_event_get_captured_values( - evaluation, &captured_fields); - if (evaluation_status != LTTNG_EVALUATION_STATUS_OK) { + on_event_evaluation_status = + lttng_evaluation_on_event_get_captured_values( + evaluation, &captured_fields); + if (on_event_evaluation_status != LTTNG_EVALUATION_ON_EVENT_STATUS_OK) { diag("Failed to get event rule evaluation captured values: status = %d", - (int) evaluation_status); + (int) on_event_evaluation_status); ret = 1; goto end; }