#include <string.h>
#include <unistd.h>
#include <time.h>
+#include <urcu.h>
#include <lttng/lttng.h>
#include <bin/lttng-sessiond/lttng-ust-abi.h>
#include <common/defaults.h>
#include <bin/lttng-sessiond/trace-ust.h>
#include <bin/lttng-sessiond/ust-app.h>
+#include <bin/lttng-sessiond/notification-thread.h>
#include <tap/tap.h>
int ust_consumerd32_fd;
int ust_consumerd64_fd;
-/* Global variable required by sessiond objects being linked-in */
+/* Global variables required by sessiond objects being linked-in */
struct lttng_ht *agent_apps_ht_by_sock;
+struct notification_thread_handle *notification_thread_handle;
static const char alphanum[] =
"0123456789"
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();
}