Linux Tools Project

Linux Tools Project - LTTng Integration

LTTng is a tracer for Linux that has the capability to generate a high volume of traces (from the kernel or an application) with very low overhead. This is achieved by instrumenting the Linux kernel and using debugfs, an efficient and lightweight virtual file system for debugging information. 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 will be delivered in two components:

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

From a user's perspective, the main features of the LTTng integration are:

Current Status

The first internal release (v0.1.0, delivered October/14) implements the following features:

LTTng perspective

LTTng structure

Tracing and Monitoring Framework

Limitations

Future Plans

V0.2.0 (due in December) should include the following:

V0.3.0 (due TBD) should include the following:

V1.0.0 (2010 Q2) should include the following:

Screenshots



LTTng Perspective

Video Demo

Coming (not so) soon.

Try it out

LTTng is not yet part of the Linux Tools delivery train. To give it a try, you will need to:

For good measure, you should also consider downloading some sample LTTng traces (because they work :-)

Note that this currently only works for Linux.

Downloading LTTng and TMF plugins

You can checkout the project plugins out of SVN from eclipse.org at svn://dev.eclipse.org/svnroot/technology/org.eclipse.linuxtools. You will need the following plugins under lttng/trunk:
     
	org.eclipse.linuxtools.lttng
	org.eclipse.linuxtools.lttng.help
	org.eclipse.linuxtools.lttng.ui
	org.eclipse.linuxtools.tmf
	org.eclipse.linuxtools.tmf.ui

Downloading and installing the LTTng parser library

LTTv comes with a very efficient parsing library (in C) which was not re-implemented in Java for this project. Instead, the library is simply integrated using JNI.

This library is not delivered as part of Eclipse (licensing stuff) and has to be downloaded from the LTTng site, compiled and then installed.

The full installation procedure can be found in the 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 the 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.




Incubation
Incubation