Eclipse LTTng plugin

TMF (Tracing and Monitoring Framework, also simply called "LTTng plugin") is an Eclipse plugin currently in development to view LTTng kernel and userspace traces.

See http://wiki.eclipse.org/index.php/Linux_Tools_Project/LTTng/User_Guide for more information

TMF is part of the Linux Tools project. Its Git repository is at:
git://git.eclipse.org/gitroot/linuxtools/org.eclipse.linuxtools.git

Any questions regarding TMF should be directed at the linuxtools-dev mailing list.


Basic installation instructions

  1. Install Java 6 (either OpenJDK or Sun-Java)
  2. Download Eclipse from www.eclipse.org
  3. Download the LTTng trace reading library, either from packages (package name is "liblttvtraceread-loader-2.6") or from source.
  4. Download TMF, either from Git (link above) or from the package manager in Eclipse itself (under Linux Tools / LTTng)


Videos tutorials

Installing TMF

This video is a bit dated. The general idea is still valid, but with the following changes:

  • OpenJDK has improved a lot since, you should definitely try it first. If you have problems you can still revert to sun-java.
  • The deb package to install is now liblttvtraceread-loader-2.6 instead of liblttvtraceread-2.6-jni, to match what is in upstream Debian.
  • This package is also available in the repository since Ubuntu Natty and Debian Wheezy, so adding the PPA is not mandatory. You can still use the PPA to receive updates.
  • The Linux Tools project is not using SVN anymore, so replace the "svn checkout" step with:
    git clone git://git.eclipse.org/gitroot/linuxtools/org.eclipse.linuxtools.git

    The TMF plugins are under the lttng/ directory.


Using TMF

This video shows what the TMF UI looks like and gives a brief description of the different views.