LTTng (EclipseCon 2010)

  • 1,395 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,395
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
23
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. LTTng Integration Eclipse Linux Tools francois.chouinard@ericsson.com
  • 2. Introduction › About tracing › Troubleshooting technique › Record information about program execution › Typically low­level, high­volume 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) › Self­describing trace format › Various tracing modes: › Write­to­disk › 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 user­space tracing › Support for very large traces (> 10GB) › and much more (see lttng.org) © Ericsson  |  EclipseCon 2010
  • 5. LTTng › Upcoming features › Remote streaming › Online monitoring › Eclipse­based UI (that's why you are here) › Structure › Instrumented kernel (set of patches) › lttd – logging daemon › lttctl – user­space control › Host­based 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 re­designed) › Data Visualization › LTTng perspective © Ericsson  |  EclipseCon 2010
  • 8. 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 › Multi­trace analysis › User­space tracing › By year­end (famous last words :­) › Multi­traces synchronization › More generic statistical analysis (for UST) © Ericsson  |  EclipseCon 2010
  • 11. Pointers › LTTng Eclipse Project (http://www.eclipse.org/linuxtools/projectPages/lttng) › LTTng Eclipse Wiki (http://wiki.eclipse.org/Linux_Tools_Project/LTTng) › Linux Tools (http://www.eclipse.org/linuxtools/index.php) › Update Site (http://download.eclipse.org/technology/linuxtools/update) › LTTng Project (http://lttng.org) › Tracing Wiki (http://lttng.org/tracingwiki/index.php/TracingBook) © Ericsson  |  EclipseCon 2010
  • 12. © Ericsson  |  EclipseCon 2010