lib: compile liblttng-ctl as C++
[lttng-tools.git] / src / common / consumer / consumer.h
index 6f2aae31b3f582c91ebe4e0d30bb8a0d2014c4f6..1b0ee000b5bdd944ac4aba946a83d256327a5195 100644 (file)
@@ -859,8 +859,12 @@ extern int consumer_quit;
  */
 extern int consumer_quit;
 
-/* Flag used to temporarily pause data consumption from testpoints. */
-extern int data_consumption_paused;
+/*
+ * Flag used to temporarily pause data consumption from testpoints.
+ *
+ * This variable is dlsym-ed from a test, so needs to be exported.
+ */
+LTTNG_EXPORT extern int data_consumption_paused;
 
 /* Return a human-readable consumer type string that is suitable for logging. */
 static inline
This page took 0.023959 seconds and 4 git commands to generate.