Fix: JUL domain support with --disable-lttng-ust
authorDavid Goulet <dgoulet@efficios.com>
Wed, 16 Oct 2013 15:41:36 +0000 (11:41 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 16 Oct 2013 15:41:36 +0000 (11:41 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/Makefile.am
src/bin/lttng-sessiond/jul-thread.h
src/bin/lttng-sessiond/ust-app.h

index 60cf0feeb741c58546527d554069d2666934a738..ec0750c68966ae92b878e076fff551c24b2b89d8 100644 (file)
@@ -27,12 +27,12 @@ lttng_sessiond_SOURCES = utils.c utils.h \
                        buffer-registry.c buffer-registry.h \
                        testpoint.h ht-cleanup.c \
                        snapshot.c snapshot.h \
-                       jul.c jul.h jul-thread.c jul-thread.h
+                       jul.c jul.h
 
 if HAVE_LIBLTTNG_UST_CTL
 lttng_sessiond_SOURCES += trace-ust.c ust-registry.c ust-app.c \
                        ust-consumer.c ust-consumer.h ust-thread.c \
-                       ust-metadata.c ust-clock.h
+                       ust-metadata.c ust-clock.h jul-thread.c jul-thread.h
 endif
 
 # Add main.c at the end for compile order
index 58bdad72c173742bea7e7f239ecb568e4402b3ec..2f81d889d1c64d422b110625ba7b255dda3c9e85 100644 (file)
@@ -24,7 +24,8 @@ void *jul_thread_manage_registration(void *data);
 
 #else /* HAVE_LIBLTTNG_UST_CTL */
 
-void *jul_thread_manage_registration(void *data);
+static inline
+void *jul_thread_manage_registration(void *data)
 {
        return NULL;
 }
index 249d568d1fb66f31aaf15cd65fe786e0c17f398e..680ab6f2fe0339c180c9da2e86a4e2ea5787150c 100644 (file)
@@ -555,6 +555,11 @@ struct ust_app *ust_app_find_by_sock(int sock)
 {
        return NULL;
 }
+static inline
+struct ust_app *ust_app_find_by_pid(pid_t pid)
+{
+       return NULL;
+}
 
 #endif /* HAVE_LIBLTTNG_UST_CTL */
 
This page took 0.025871 seconds and 4 git commands to generate.