Add env var UST_REGISTER_TIMEOUT
[lttng-ust.git] / README
diff --git a/README b/README
index 3d7e18e3de27f59a124de7ecbf0a9d4f64f5ec9c..399263d5e1e8faf8807f84e1b98c33acb36e0fe4 100644 (file)
--- a/README
+++ b/README
@@ -45,10 +45,18 @@ USAGE:
   - Link application with -lust.
   - (TODO: start tracing with the "lttng" command from lttng-tools)
 
-  Note: libust debug can be activated by either of the following means:
-    - Setting the environment variable "UST_DEBUG" when launching the
-      application.
-    - Compiling libust with -DUST_DEBUG.
+ENVIRONMENT VARIABLES:
+
+  - libust debug can be activated by setting the environment variable
+    "UST_DEBUG" when launching the application. It can also be enabled
+    at compile-time by compiling libust with -DUST_DEBUG.
+
+  - The environment variable "UST_REGISTER_TIMEOUT" can be used to
+    specify how long the applications should wait for sessiond
+    "registration done" command before proceeding to execute the main
+    program. The default is 3000ms (3 seconds). The timeout value is
+    specified in milliseconds. The value -1 means "don't wait". The value
+    0 means "wait forever".
 
 
 TRACE VIEWER:
This page took 0.024256 seconds and 4 git commands to generate.