Tests: add placeholder symbol to allow unit tests to link
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 03:53:27 +0000 (23:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 13:32:33 +0000 (09:32 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/unit/Makefile.am
tests/unit/test_kernel_data.c
tests/unit/test_ust_data.c

index f9dd53bef40125cc3b2a24469918cd2e4ebab39e..f11b69b7c29b83c2e736410f1b95f5c1c607eba0 100644 (file)
@@ -73,6 +73,7 @@ UST_DATA_TRACE=$(top_builddir)/src/bin/lttng-sessiond/trace-ust.$(OBJEXT) \
                   $(top_builddir)/src/bin/lttng-sessiond/session.$(OBJEXT) \
                   $(top_builddir)/src/bin/lttng-sessiond/snapshot.$(OBJEXT) \
                   $(top_builddir)/src/bin/lttng-sessiond/agent.$(OBJEXT) \
+                  $(top_builddir)/src/bin/lttng-sessiond/notification-thread-commands.$(OBJEXT) \
                   $(top_builddir)/src/common/libcommon.la \
                   $(top_builddir)/src/common/health/libhealth.la \
                   $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
@@ -89,6 +90,7 @@ KERN_DATA_TRACE=$(top_builddir)/src/bin/lttng-sessiond/trace-kernel.$(OBJEXT) \
                $(top_builddir)/src/bin/lttng-sessiond/utils.$(OBJEXT) \
                $(top_builddir)/src/common/libcommon.la \
                $(top_builddir)/src/common/health/libhealth.la \
+               $(top_builddir)/src/bin/lttng-sessiond/notification-thread-commands.$(OBJEXT) \
                $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
 
 test_kernel_data_SOURCES = test_kernel_data.c
index 6a35ea54a602489df1d35df9995a6f6cad5f8a14..ad4666b6ff675b5275d1f4034ba4ee1d24af43b1 100644 (file)
@@ -38,6 +38,7 @@
 int lttng_opt_quiet = 1;
 int lttng_opt_verbose;
 int lttng_opt_mi;
+struct notification_thread_handle *notification_thread_handle;
 
 int ust_consumerd32_fd;
 int ust_consumerd64_fd;
index 7996b8e60e7d4e9ce60cea4220e44a357692d6ce..86c1e23bf43edceffa0bce237c40fb0772899a8b 100644 (file)
@@ -30,6 +30,7 @@
 #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>
 
@@ -49,8 +50,9 @@ int lttng_opt_mi;
 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"
This page took 0.027494 seconds and 5 git commands to generate.