Linux Tools Project - LTTng Integration

Overview

LTTng (Linux Trace Toolkit, next generation) is a high performance tracing tool for Linux that efficiently handles large amounts of trace data. Initially aimed at the Linux kernel, its technology has been extended to support user space tracing (UST).

The scope of this project is to deliver an OS-independent Eclipse front-end for LTTng, in order to [1] configure and control LTTng, [2] collect the trace data, and [3] visualize and analyze the data collected.

It supports arbitrarily large traces that exceed available memory. It also provides a framework for the integration of various tracers and loggers (e.g. HW) as well as specialized trace analysis tools.

Current Status

Tracing perspective

  • Project View - Tracing project management
  • Events View - Advanced tabular view of the raw trace events
  • Statistics View - General traces statistics
  • Histogram View - Event distribution analysis

LTTng Kernel perspective (in addition to the Tracing perspective)

  • Control Flow View - Processes state transition analysis
  • Resource View - System resources state transition analysis
  • Control View - LTTng tracer control

Infrastructure

  • Generic Component, Trace and Event Models
  • Event searching, filtering, bookmarking and color coding
  • Generic Text Parser (XML, regex)
  • Common Trace Format (CTF) parser, using separate library
  • Inter-component communication mechanism using signals
  • Framework for trace event requests
  • Generic State System (GSS)
  • Generic Time Chart View
  • Generic Call Stack View
  • Source code and EMF model lookup

Future Plans

LTTng internals

  • Integration of User Space Tracing (UST)
  • Support for -finstrument-functions traces in the Callstack View

Infrastructure

  • Integration of trace synchronization
  • Integration of dependency analysis
  • Generic plotting framework (e.g. XY-plot, histogram, Gantt chart, etc)
  • Definition of custom state systems and views
  • Trace streaming

Screenshots



LTTng Perspective

Video Demo

There are other TMF-related videos in the LTTng channel.

Try it out

Follow the instructions here.