static
int check_session_rotation_pending_local(struct ltt_session *session)
{
- int ret;
+ int ret = 0;
struct consumer_socket *socket;
struct cds_lfht_iter iter;
bool rotation_completed = true;
goto end;
}
+ rcu_register_thread();
+ rcu_thread_online();
+
health_register(health_sessiond, HEALTH_SESSIOND_TYPE_ROTATION);
health_code_update();
DBG("[rotation-thread] Exit");
fini_thread_state(&thread);
health_unregister(health_sessiond);
+ rcu_thread_offline();
+ rcu_unregister_thread();
end:
return NULL;
}