X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=README;h=901e17514c85d06fa81b4e4280fefa905a2e28b1;hb=381c0f1ef474e0ae8a96b3753470ca4bda45c764;hp=d2924f1556b4779488e7236f867668b3fce1919e;hpb=a6830b14b4440231f8fc6b20d61f238ec6a5d8a4;p=lttng-ust.git diff --git a/README b/README index d2924f15..901e1751 100644 --- a/README +++ b/README @@ -7,8 +7,8 @@ Updated versions of this package may be found at: * Website: http://lttng.org/ust * Releases: http://lttng.org/files/ust/releases - * GitWeb: http://git.dorsal.polymtl.ca (project: ust) - * Git: git://git.dorsal.polymtl.ca/git/ust.git + * GitWeb: http://git.lttng.org (project: ust) + * Git: git://git.lttng.org/ust.git PREREQUISITES: @@ -38,6 +38,27 @@ INSTALLATION INSTRUCTIONS: the configure script, to generate it. +USAGE: + + - Create an instrumentation header following the tracepoint examples. + (see tracepoint.h and tests/hello/tp.h). + - Link application with -lust. + - (TODO: start tracing with the "lttng" command from lttng-tools) + +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: LTTV is used for viewing UST traces. LTTV may be obtained at @@ -101,3 +122,4 @@ PACKAGE CONTENTS: - java A simple library that uses JNI to allow tracing in java programs. + See java/README for build instructions.