by Mathieu Desnoyers
This source tree is based on the Autotools suite from GNU to simplify portability. Here are some things you should have on your system in order to compile the Git repository tree:
- GNU Autotools
(Automake >= 1.12, Autoconf >= 2.69,
Autoheader >= 2.69;
make sure your system-wide
automake
points to a recent version!)
If you get the tree from the Git repository, you will need to run
./bootstrap
in its root. It calls all the GNU tools needed to prepare the tree configuration.
To build and install, do:
./configure
make
sudo make install
Make sure lttng-tools, lttng-ust, and lttng-modules are installed on
your system. Make sure your user is part of the tracing
group.
As root, launch the LTTng session daemon:
lttng-sessiond -d
As user, run:
lttng-trace COMMAND
Where COMMAND is the command you want to trace. Follow the instructions on standard error.
For detailed help, run:
lttng-trace --help