Tracepoints: add provider mismatch check
[lttng-ust.git] / README
CommitLineData
1af1f1db
PMF
1LTTNG USERSPACE TRACER (UST)
2----------------------------
3
cb974fbd 4UST web site and manual: http://lttng.org/ust
2615de09 5
0207cc51 6Updated versions of this package may be found at:
0207cc51 7
8f03ca96 8 * Website: http://lttng.org/ust
2a93485b 9 * Releases: http://lttng.org/files/ust/releases
b58d53c0
YB
10 * GitWeb: http://git.lttng.org (project: ust)
11 * Git: git://git.lttng.org/ust.git
2615de09 12
2615de09 13
2a93485b 14PREREQUISITES:
6514bc5d 15
2a93485b 16 - liburcu
2a93485b 17 Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney
2615de09 18
b5a3dfa5 19 -> This release depends on liburcu v0.6.6
2615de09 20
8f03ca96
PMF
21 * Debian/Ubuntu package: liburcu-dev
22 * Website: http://lttng.org/urcu
23 * Releases: http://lttng.org/files/urcu
24 * GitWeb: http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git;a=summary
25 * Git: git://lttng.org/userspace-rcu.git
cbccb4a9 26
2a93485b 27
5de791bd 28INSTALLATION INSTRUCTIONS:
2a93485b 29
7066ec32 30 - Download, compile and install liburcu.
2a93485b
PMF
31 - In this package's tree, run ./configure.
32 - Run make.
33 - Run make install.
34 - Run ldconfig.
937e29d7 35 - See the manual for usage instructions.
2a93485b 36
1ffa770b
PMF
37 If compiling from the git repository, run ./bootstrap before running
38 the configure script, to generate it.
2a93485b
PMF
39
40
5e96a467
MD
41USAGE:
42
43 - Create an instrumentation header following the tracepoint examples.
44 (see tracepoint.h and tests/hello/tp.h).
45 - Link application with -lust.
46 - (TODO: start tracing with the "lttng" command from lttng-tools)
47
cf12a773
MD
48ENVIRONMENT VARIABLES:
49
f3049ad9
MD
50 - liblttng-ust debug can be activated by setting the environment variable
51 "LTTNG_UST_DEBUG" when launching the application. It can also be enabled
52 at compile-time by compiling libust with -DLTTNG_UST_DEBUG.
cf12a773 53
f3049ad9 54 - The environment variable "LTTNG_UST_REGISTER_TIMEOUT" can be used to
cf12a773
MD
55 specify how long the applications should wait for sessiond
56 "registration done" command before proceeding to execute the main
57 program. The default is 3000ms (3 seconds). The timeout value is
7b766b16
MD
58 specified in milliseconds. The value 0 means "don't wait". The value
59 -1 means "wait forever".
5e96a467
MD
60
61
5de791bd
PMF
62TRACE VIEWER:
63
f3049ad9
MD
64 Use babeltrace for viewing traces generated by LTTng UST 2.0.
65 See http://lttng.org for download.
5de791bd
PMF
66
67
13ef5c0e
MD
68CONTACT:
69
70 Maintainer: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
71 Mailing list: ltt-dev@lists.casi.polymtl.ca
72
73
2a93485b
PMF
74PACKAGE CONTENTS:
75
5de791bd
PMF
76 This package contains the following elements.
77
f3049ad9 78 - liblttng-ust
2a93485b
PMF
79 The actual userspace tracing library that must be linked to the
80 instrumented programs.
81
56097329
PMF
82 - include
83 The public header files that will be installed on the system.
84
1af1f1db
PMF
85 - doc
86 The documentation.
2a93485b 87
a4c5d022
PMF
88 - tests
89 Various test programs
2a93485b 90
f3049ad9 91 - liblttng-ust-malloc
2a93485b
PMF
92 An example library that can be LD_PRELOAD'ed to instrument calls to malloc()
93 in any program without need to recompile it.
94
f3049ad9 95 - liblttng-ust-fork
2a93485b 96 A library that is LD_PRELOAD'ed, and that hijacks calls to several system
1ffa770b
PMF
97 calls in order to trace across these calls. It _has_ to be LD_PRELOAD'ed
98 in order to hijack calls. In contrast, libust may be linked at build time.
a4c5d022 99
f3049ad9
MD
100 - liblttng-ust-ctl
101 A library to control tracing in other processes. Used by lttng-tools.
a4c5d022 102
f3049ad9
MD
103 - liblttng-ust-comm
104 A static library shared between libust and lttng-tools, that
9dc7b7ff
NC
105 provides functions that allow these components to communicate together.
106
a4c5d022
PMF
107 - snprintf
108 An asynchronous signal-safe version of snprintf.
109
110 - java
111 A simple library that uses JNI to allow tracing in java programs.
2b6f8df9 112 See java/README for build instructions.
This page took 0.03311 seconds and 4 git commands to generate.