Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Linux Tools Project/LTTng
Contents
Overview
LTTng is a tracer for Linux that has the capability to generate a high volume of traces (from the kernel or application) 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. It will be delivered in two components:
- Tracing and Monitoring Framework (TMF) that facilitates the integration of tracing tools in eclipse
- LTTng reference implementation based on TMF
Tracing and Monitoring Framework
TMF provides generic support the following:
- Tracing tool control (local or remote)
- Online monitoring and trace streaming
- Retrieval and handling very large trace files (that exceed available memory)
- 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
- Toolbox of statistical components
- View synchronization
- Clipboard support (for ranges of events)
- Wizard for tracing/logging/monitoring application integration
- Ad hoc trace parser generator (wizard) for:
- Generic text logs
- CSV logs
- XML logs
- Anything that can be parsed using regular expressions
LTTng reference implementation
The LTTng reference implementation is built on top of TMF. It features the following:
- Exemplary implementation of the usage of TMF
- Control of LTTng, local and remote (TCF based agent)
- Example of a third-party parsing library integration
- Support for distributed, multi-processor, multi-core trace synchronization
- Retrieval and efficient handling of large trace files (>10Gb)
- Support for kernel and user space tracing
- Traces visualization, correlation and analysis
- State tracking system
Current Status
LTTng is not yet part of the Linux Tools release train.
However, the plugins contributed so far provide the following:
TMF
- Handling of very large trace files
- Generic Events View
- Generic state range widget
LTTng
- LTTng parsing libray integration (using JNI)
- Project View
- Time Frame View
- Events View
- Control Flow View
- Resources View
- Statistics View
Coming up
- Histogram View
- Support for multiple traces
- Bug fixes...