/* Assign handle only when the complete setup is valid. */
app->event_notifier_group.object = event_notifier_group;
- event_notifier_error_accounting_status = event_notifier_error_accounting_register_app(app);
+ event_notifier_error_accounting_status =
+ event_notifier_error_accounting_register_app(app);
if (event_notifier_error_accounting_status != EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK) {
if (event_notifier_error_accounting_status == EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_APP_DEAD) {
DBG3("Failed to setup event notifier error accounting (application is dead): app socket fd = %d",
ret_code = notification_thread_command_list_triggers(
the_notification_thread_handle, 0, &triggers);
if (ret_code != LTTNG_OK) {
- ret = -1;
goto end;
}
t_status = lttng_triggers_get_count(triggers, &count);
if (t_status != LTTNG_TRIGGER_STATUS_OK) {
- ret = -1;
goto end;
}