Document LTTNG_UST_DEBUG_VALGRIND compilation flag
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 20 Mar 2012 18:13:54 +0000 (14:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 20 Mar 2012 18:13:54 +0000 (14:13 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
README
libringbuffer/getcpu.h

diff --git a/README b/README
index ad9acd77b5664753b5947d5fe9c4c2a3ffa1f73c..78160a30f8210e0cdb9e8e6e8483aa3a6204e117 100644 (file)
--- a/README
+++ b/README
@@ -113,6 +113,10 @@ ENVIRONMENT VARIABLES:
     recommended for applications with time constraints on the process
     startup time.
 
+  - The compilation flag "-DLTTNG_UST_DEBUG_VALGRIND" should be enabled
+    at build time to allow liblttng-ust to be used with valgrind
+    (side-effect: disables per-cpu buffering).
+
 
 TRACE VIEWER:
 
index 104ba7601c6bc58598833d4e7acc9374e6262e4f..44d0d5594f04641029bb70116d6784b8f8ef0ff0 100644 (file)
@@ -22,7 +22,7 @@
 #include <urcu/compiler.h>
 #include <sched.h>
 
-#ifdef UST_VALGRIND
+#ifdef LTTNG_UST_DEBUG_VALGRIND
 
 /*
  * Fallback on cpu 0 if liblttng-ust is build with Valgrind support.
This page took 0.025005 seconds and 4 git commands to generate.