Commit | Line | Data |
---|---|---|
1af1f1db PMF |
1 | LTTNG USERSPACE TRACER (UST) |
2 | ---------------------------- | |
3 | ||
cb974fbd | 4 | UST web site and manual: http://lttng.org/ust |
2615de09 | 5 | |
0207cc51 | 6 | Updated 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 | 14 | PREREQUISITES: |
6514bc5d | 15 | |
2a93485b | 16 | - liburcu |
2a93485b | 17 | Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney |
2615de09 | 18 | |
a6830b14 | 19 | -> This release depends on liburcu v0.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 | 28 | INSTALLATION 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 |
41 | USAGE: |
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 | ||
48 | Note: libust debug can be activated by either of the following means: | |
49 | - Setting the environment variable "UST_DEBUG" when launching the | |
50 | application. | |
51 | - Compiling libust with -DUST_DEBUG. | |
52 | ||
53 | ||
5de791bd PMF |
54 | TRACE VIEWER: |
55 | ||
56 | LTTV is used for viewing UST traces. LTTV may be obtained at | |
57 | http://lttng.org in the Downloads section. | |
58 | ||
ec3e0940 | 59 | This release has been tested with LTTV 0.12.32. |
5de791bd PMF |
60 | |
61 | ||
13ef5c0e MD |
62 | CONTACT: |
63 | ||
64 | Maintainer: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
65 | Mailing list: ltt-dev@lists.casi.polymtl.ca | |
66 | ||
67 | ||
2a93485b PMF |
68 | PACKAGE CONTENTS: |
69 | ||
5de791bd PMF |
70 | This package contains the following elements. |
71 | ||
2a93485b PMF |
72 | - libust |
73 | The actual userspace tracing library that must be linked to the | |
74 | instrumented programs. | |
75 | ||
76 | - ustctl | |
77 | A program to control the tracing of userspace applications. It can list | |
78 | markers, start the tracing, stop the tracing, enable/disable markers, etc. | |
79 | ||
56097329 PMF |
80 | - include |
81 | The public header files that will be installed on the system. | |
82 | ||
9dc7b7ff | 83 | - ust-consumerd |
2a93485b PMF |
84 | The daemon that collects trace data and writes it to the disk. |
85 | ||
1af1f1db PMF |
86 | - doc |
87 | The documentation. | |
2a93485b | 88 | |
a4c5d022 PMF |
89 | - tests |
90 | Various test programs | |
2a93485b | 91 | |
7066ec32 | 92 | - libustinstr-malloc |
2a93485b PMF |
93 | An example library that can be LD_PRELOAD'ed to instrument calls to malloc() |
94 | in any program without need to recompile it. | |
95 | ||
7066ec32 | 96 | - libustfork |
2a93485b | 97 | A library that is LD_PRELOAD'ed, and that hijacks calls to several system |
1ffa770b PMF |
98 | calls in order to trace across these calls. It _has_ to be LD_PRELOAD'ed |
99 | in order to hijack calls. In contrast, libust may be linked at build time. | |
a4c5d022 | 100 | |
2298f329 | 101 | - libustctl |
a4c5d022 PMF |
102 | A library to control tracing in other processes. Used by ustctl. |
103 | ||
104 | - libustcomm | |
2298f329 | 105 | A static library shared between libust, ust-consumerd and libustctl, that |
9dc7b7ff NC |
106 | provides functions that allow these components to communicate together. |
107 | ||
108 | - libustconsumer | |
109 | A library to create ust consumers by registering callbacks, used by | |
110 | ust-consumerd. | |
a4c5d022 PMF |
111 | |
112 | - snprintf | |
113 | An asynchronous signal-safe version of snprintf. | |
114 | ||
115 | - java | |
116 | A simple library that uses JNI to allow tracing in java programs. |