More Related Content
Similar to LTTng (EclipseCon 2010)
Similar to LTTng (EclipseCon 2010) (20)
LTTng (EclipseCon 2010)
- 2. Introduction
› About tracing
› Troubleshooting technique
› Record information about program execution
› Typically lowlevel, highvolume data logging
› Challenges
› Efficiency – low overhead
› Storage – trace data can become huge in no time
› Correlation – traces from multiple sources/layers/threads
› Analysis – make sense out of the deluge of data
© Ericsson | EclipseCon 2010
- 3. LTTng
› Linux Tracing Toolkit (lttng.org)
› Efficiency
› Low impact, high performace tracing system (~2% overhead)
› Support for conditional tracing
› Highly optimized static tracing (compile time)
› Dynamic tracing (kprobes)
› Storage
› Highly optimized binary storage format (for compactness)
› Selfdescribing trace format
› Various tracing modes:
› Writetodisk
› Flight recorder
© Ericsson | EclipseCon 2010
- 4. LTTng
› Correlation
› Timestamped trace events (cycle counter precision ~1ns)
› Accurate event ordering across traces
› Analysis
› Numerous analysis views (see lttng.org)
› Other features
› Support for many processor types and Linux architectures
› Support for kernel and userspace tracing
› Support for very large traces (> 10GB)
› and much more (see lttng.org)
© Ericsson | EclipseCon 2010
- 5. LTTng
› Upcoming features
› Remote streaming
› Online monitoring
› Eclipsebased UI (that's why you are here)
› Structure
› Instrumented kernel (set of patches)
› lttd – logging daemon
› lttctl – userspace control
› Hostbased UI
© Ericsson | EclipseCon 2010
- 6. LTTng Overview
Host Target
C/C++ App Java App Whatever
LTTng C adapter C adapter
libust libust libust
TMF
libustd libustctl
RSE/TCF TCF Agent lttd lttctl
Eclipse
Kernel Space
Patched
Shell cmd Local FS
Kernel
© Ericsson | EclipseCon 2010
- 7. Eclipse Integration
› LTTng Control
› Configuration and control of tracing
› RSE/TCF based
› Data Collection and Transfer
› Trace data retrieval
› Live streaming (under development)
› Monitoring (under development)
› RSE/TCF based
› Analysis
› Kernel State System (completely redesigned)
› Data Visualization
› LTTng perspective
© Ericsson | EclipseCon 2010
- 9. Demo
› Project View
› Importing an LTTng trace
› Creating an experiment
› Time Frame View
› Events View
› Statistics View
› Control Flow View
› Resources View
© Ericsson | EclipseCon 2010
- 10. Upcoming Features
› Helios Timeframe (June 2010)
› Feature parity with LTTV
› Control View
› Histogram View
› Multitrace analysis
› Userspace tracing
› By yearend (famous last words :)
› Multitraces synchronization
› More generic statistical analysis (for UST)
© Ericsson | EclipseCon 2010