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 (applies to all supported trace types)

  • 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

  • Control Flow View - Processes state transition analysis
  • Resource View - System resources state transition analysis
  • Control View - LTTng tracer control
  • CPU Usage View - Shows CPU usage per process

LTTng-UST perspective

  • Call Stack View showing function entries and exits
  • Memory Usage view, using libc instrumentation

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
  • Source code and EMF model lookup
  • Generic State System (GSS)
  • Generic Time Chart View
  • Generic Call Stack View
  • Trace synchronization framework
  • Generic plotting framework based on SWTChart
  • Data-driven analyses and views

Future Plans

Infrastructure

  • More data-driven views (XY charts, sequence diagrams)
  • Integration of dependency analysis
  • Support for live trace reading
  • Support for pcap traces

Screenshots



LTTng Perspective

Video Demo

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

Try it out

Follow the instructions here.