Overview

LTTng is a tracer for Linux that has the capability to generate traces (from the kernel or an application) at a high rate with very low overhead. This is achieved by instrumenting the Linux kernel. LTTng is delivered as a set of kernel patches (to collect the traces) as well as a tool chain (to control, view and analyze the generated data).

The scope of this project is to provide an Eclipse integration of LTTng, in particular its LTTV component which is used to control, fetch and visualize the LTTng traces.

The project is being delivered in two components:

A Tracing and Monitoring Framework (TMF), a tracing tool-agnostic component that facilitates their integration in Eclipse

An LTTng reference implementation based on TMF

The Tracing and Monitoring Framework will provide a number of features:

Tracing project management

Support for very large trace files (that exceed available memory)

Online monitoring and trace streaming

Unified view for multiple, heterogeneous traces

Trace correlation

Out-of-the-box set of standard tracing views

Toolbox of tracing widgets that can be used to assemble application-specific views

To use these built libraries, start Eclipse with them on LD_LIBRARY_PATH:

LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" ./eclipse

The full installation procedure can be found in the LTTng User Guide. In Eclipse, switch to Help (Help > Help Contents) and open the LTTng User Guide. Follow the installation procedure from the "Getting Started/Installing the LTTng parsing library" page.

Note that you need the org.eclipse.linuxtools.lttng.help plugin to access that User Guide.

Sample LTTng traces

In Eclipse, switch to Help (Help > Help Contents) and open the LTTng User Guide. You can download sample traces from the "Getting Started/Samples" page.