Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#include <unistd.h>
#include <time.h>
#include <sys/types.h>
+#include <urcu.h>
#include <tap/tap.h>
diag("Sessions unit tests");
+ rcu_register_thread();
+
test_session_list();
test_create_one_session();
test_large_session_number();
+ rcu_unregister_thread();
assert(!fini_ht_cleanup_thread(&ht_cleanup_thread));
return exit_status();
#include <string.h>
#include <unistd.h>
#include <time.h>
+#include <urcu.h>
#include <lttng/lttng.h>
#include <bin/lttng-sessiond/lttng-ust-abi.h>
diag("UST data structures unit test");
+ rcu_register_thread();
+
test_create_one_ust_session();
test_create_ust_channel();
test_create_ust_event();
test_create_ust_context();
test_create_ust_event_exclusion();
+ rcu_unregister_thread();
+
return exit_status();
}