X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=README;h=901e17514c85d06fa81b4e4280fefa905a2e28b1;hb=4f6ffb56a9f939cca6c81a05966265daf780b457;hp=3d7e18e3de27f59a124de7ecbf0a9d4f64f5ec9c;hpb=5e96a46756a5dcd6e348afd84078b9e26438245d;p=ust.git diff --git a/README b/README index 3d7e18e..901e175 100644 --- 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 0 means "don't wait". The value + -1 means "wait forever". TRACE VIEWER: @@ -114,3 +122,4 @@ PACKAGE CONTENTS: - java A simple library that uses JNI to allow tracing in java programs. + See java/README for build instructions.