Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.21 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.21 KB

LTTng trace - Trace command execution and its sub-processes

by Mathieu Desnoyers

Building

Prerequisites

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!)

Building steps

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

Usage

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