LTTng (EclipseCon 2010)

1,747 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,747
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
32
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

LTTng (EclipseCon 2010)

  1. 1. LTTng Integration Eclipse Linux Tools francois.chouinard@ericsson.com
  2. 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. 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. 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. 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. 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. 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. 8. LTTng Perspective © Ericsson  |  EclipseCon 2010
  9. 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. 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. 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. 12. © Ericsson  |  EclipseCon 2010

×