Tests: Add "libc-wrapper" ust regression test
[lttng-tools.git] / README
CommitLineData
fac6795d
DG
1LTTng Trace Control
2----------------
3
4Please visit http://lttng.org for more information.
5
6Latest development can be found at:
7
ebb6ebd5
DG
8 * Gitweb : http://git.lttng.org/lttng-tools.git/
9 * Git : git://git.lttng.org/lttng-tools.git
fac6795d 10
ebb6ebd5 11REQUIREMENTS:
fac6795d 12
2910b812
DG
13 - Linux kernel >= 2.6.27
14 pipe2(), epoll_create1() and SOCK_CLOEXEC are needed to run the session
15 daemon. There were introduce in the Linux 2.6.27
16
ebb6ebd5
DG
17 - liburcu
18 Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney
fac6795d 19
d086eb77 20 -> Tested with liburcu >= v0.7.2
fac6795d 21
ebb6ebd5 22 * Debian/Ubuntu package: liburcu-dev
8bf332b9 23 * Git : git://git.lttng.org/userspace-rcu.git
ebb6ebd5 24 * Website: http://lttng.org/urcu
fac6795d 25
7105c24c 26 - libpopt >= 1.13
ebb6ebd5 27 Library for parsing command line parameters
fac6795d 28
ebb6ebd5 29 * Debian/Ubuntu package: libpopt-dev
fac6795d 30
7c0cb22c
CB
31 - Perl (optional)
32 Needed for make check and tests.
33
36907cb5 34 - SWIG >= 2.0 (optional)
d086eb77 35 Needed for Python bindings (--enable-python-bindings).
36907cb5
DS
36
37 * Debian/Ubuntu package: swig2.0
38
39 - python-dev (optional)
40 Python headers
41
42 * Debian/Ubuntu package: python-dev
43
71a76062
MD
44 - For kernel tracing: modprobe
45
1167f2bc
DG
46 - bash
47 Needed for running "make check".
48
8ad9aaaf
MD
49For developers using the git tree:
50
51This source tree is based on the autotools suite from GNU to simplify
52portability. Here are some things you should have on your system in order to
53compile the git repository tree :
54
55- GNU autotools (automake >=1.10, autoconf >=2.50, autoheader >=2.50)
56 (make sure your system wide "automake" points to a recent version!)
57- GNU Libtool >=2.2
58 (for more information, go to http://www.gnu.org/software/autoconf/)
5a82525d
DG
59- flex >= 2.5.35
60- bison >= 2.4
8ad9aaaf 61
ee10cdeb
DG
62If you use GNU gold, which is NOT mandatory, make sure you have this version:
63- GNU gold >= 2.22
64(Before this version we hit a known bug documented at:
65 http://sourceware.org/bugzilla/show_bug.cgi?id=11317)
66Be advise that with GNU gold, you'll might have to specify -L/usr/local/lib in
67LDFLAGS.
68
8ad9aaaf 69If you get the tree from the repository, you will need to use the "bootstrap"
ee10cdeb
DG
70script in the root of the tree. It calls all the GNU tools needed to prepare
71the tree configuration.
8ad9aaaf 72
fac6795d
DG
73INSTALLATION INSTRUCTIONS:
74
ebb6ebd5
DG
75 - Download, compile and install the prerequisites.
76 Then:
ee10cdeb 77 $ ./boostrap
ebb6ebd5
DG
78 $ ./configure
79 $ make
80 $ sudo make install
81 $ sudo ldconfig
fac6795d
DG
82
83 If compiling from the git repository, run ./bootstrap before running
84 the configure script, to generate it.
85
36907cb5
DS
86 If you want Python bindings, run ./configure --enable-python-bindings.
87
aeff77c8
DG
88USAGE:
89
90Please see doc/quickstart.txt to help you start tracing. You can also use the
91-h/--help command on 'lttng' and all other commands offered in this tool (Ex:
92lttng enable-event -h).
93
c0e668d0
DG
94A network streaming HOWTO can be found in doc/streaming-howto.txt which quickly
95helps you understand how to stream a LTTng 2.0 trace.
96
36907cb5
DS
97A Python HOWTO can be found in doc/python-howto.txt which quickly
98helps you understand how to use the Python module to control the LTTng API.
99
fac6795d
DG
100PACKAGE CONTENTS:
101
ebb6ebd5
DG
102 This package contains the following elements:
103
ffb25bd5 104 - liblttng-ctl
ebb6ebd5
DG
105 The LTTng tracing control library.
106
fe54b749
DG
107 - libsessiond-comm (internal)
108 The lttng-sessiond communication library. In order to talk with
109 lttng-sessiond, this library must be used.
ebb6ebd5 110
fe54b749 111 - libkernel-ctl (internal)
ebb6ebd5 112 Kernel tracer control and ioctl definitions.
fac6795d 113
fe54b749 114 - libconsumer (internal)
3bd1e081 115 Library for Kernel and (optionally) UST trace consumer.
fac6795d 116
fe54b749
DG
117 - libkernel-consumer (internal)
118 Library for Kernel consumer control
119
120 - libust-consumer (internal)
121 Library for UST consumer control
122
123 - libhashtable (internal)
124 Library wrapper over URCU hashtables.
125
ffb25bd5
DG
126 - libcommon (internal)
127 Contains multiple useful function call used by the whole tree.
128
129 - libcompat (internal)
130 Compatibility library mostly for FreeBSD and Linux.
131
132 - librelayd (internal)
133 Library for all relayd interactions over the network.
134
b8aa1682
JD
135 - lttng-relayd
136 The relay daemon used for network streaming
137
3bd1e081 138 - lttng-consumerd
fe54b749 139 The consumer daemon which uses libconsumer.
fac6795d 140
32258573 141 - lttng-sessiond
ebb6ebd5 142 The LTTng session daemon binary.
fac6795d 143
ebb6ebd5
DG
144 - lttng
145 The LTTng tracer command line control tool.
fac6795d 146
ebb6ebd5
DG
147 - include (lttng.h --> installed in $(includedir)/lttng/lttng.h)
148 The liblttngctl API header file.
fac6795d 149
ebb6ebd5
DG
150 - tests
151 Various test programs.
fe54b749
DG
152
153 - doc
154 Various documentations and quickstart guide.
ffb25bd5
DG
155
156 - extras
157 Contains extra data such as bash completion file.
This page took 0.033119 seconds and 4 git commands to generate.