]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
blkin: link against lttng-ust-fork 17673/head
authorMohamad Gebai <mgebai@suse.com>
Thu, 7 Sep 2017 13:43:20 +0000 (09:43 -0400)
committerMohamad Gebai <mgebai@suse.com>
Thu, 7 Sep 2017 13:43:20 +0000 (09:43 -0400)
Tracing with LTTng doesn't work if an application clone()s other
threads. This is an LTTng-related issue and the fix is LD_PRELOAD'ing
liblttng-ust-fork, or linking against it.
We don't have this issue with "regular" tracepoints (see WITH_LTTNG)
because the tracepoints are loaded using dlopen() at runtime by each
Ceph process.

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
CMakeLists.txt

index cd95362ae062934e877803758a00a8f19e9e284f..b23d270c6c36d531de6aa8e05d471638951cdfe0 100644 (file)
@@ -358,7 +358,7 @@ endif(WITH_DPDK)
 
 option(WITH_BLKIN "Use blkin to emit LTTng tracepoints for Zipkin" OFF)
 if(WITH_BLKIN)
-  set(BLKIN_LIBRARIES blkin lttng-ust)
+  set(BLKIN_LIBRARIES blkin ${LTTNGUST_LIBRARIES} lttng-ust-fork)
   include_directories(src/blkin/blkin-lib)
 endif(WITH_BLKIN)