SlideShare a Scribd company logo
1 of 12
Download to read offline
LTTng Integration
Eclipse Linux Tools


francois.chouinard@ericsson.com
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
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
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
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
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
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
LTTng Perspective




© Ericsson  |  EclipseCon 2010
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
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
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
© Ericsson  |  EclipseCon 2010

More Related Content

What's hot

Packet에 대해서 알아보자.pdf
Packet에 대해서 알아보자.pdfPacket에 대해서 알아보자.pdf
Packet에 대해서 알아보자.pdfHo Jeong Im
 
MTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificateMTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificateTũi Wichets
 
Realini go gps_foss4g2011_small2
Realini go gps_foss4g2011_small2Realini go gps_foss4g2011_small2
Realini go gps_foss4g2011_small2masarunarazaki
 
Introsort or introspective sort
Introsort or introspective sortIntrosort or introspective sort
Introsort or introspective sortEftykhar Mahmud
 
A synchronous scheduling service for distributed real-time Java
A synchronous scheduling service for distributed real-time JavaA synchronous scheduling service for distributed real-time Java
A synchronous scheduling service for distributed real-time JavaUniversidad Carlos III de Madrid
 
Gtp load balancing 27.9.17
Gtp load balancing   27.9.17Gtp load balancing   27.9.17
Gtp load balancing 27.9.17Tamanna Bhatia
 

What's hot (9)

Packet에 대해서 알아보자.pdf
Packet에 대해서 알아보자.pdfPacket에 대해서 알아보자.pdf
Packet에 대해서 알아보자.pdf
 
MTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificateMTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificate
 
Realini go gps_foss4g2011_small2
Realini go gps_foss4g2011_small2Realini go gps_foss4g2011_small2
Realini go gps_foss4g2011_small2
 
Introsort or introspective sort
Introsort or introspective sortIntrosort or introspective sort
Introsort or introspective sort
 
goGPS (November 2013)
goGPS (November 2013)goGPS (November 2013)
goGPS (November 2013)
 
Basanta jtr2009
Basanta jtr2009Basanta jtr2009
Basanta jtr2009
 
Memory management
Memory managementMemory management
Memory management
 
A synchronous scheduling service for distributed real-time Java
A synchronous scheduling service for distributed real-time JavaA synchronous scheduling service for distributed real-time Java
A synchronous scheduling service for distributed real-time Java
 
Gtp load balancing 27.9.17
Gtp load balancing   27.9.17Gtp load balancing   27.9.17
Gtp load balancing 27.9.17
 

Similar to LTTng (EclipseCon 2010)

Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Julien Vermillard
 
LTTng-UST: Efficient System-Wide User-Space Tracing
LTTng-UST: Efficient System-Wide User-Space TracingLTTng-UST: Efficient System-Wide User-Space Tracing
LTTng-UST: Efficient System-Wide User-Space TracingChristian Babeux
 
Security Monitoring with eBPF
Security Monitoring with eBPFSecurity Monitoring with eBPF
Security Monitoring with eBPFAlex Maestretti
 
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...Stefano Salsano
 
Gntc 2017 cord platform
Gntc 2017 cord platformGntc 2017 cord platform
Gntc 2017 cord platformChun Ming Ou
 
The Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco CloudThe Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco CloudMarco Rodrigues
 
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus SDN/OpenFlow switch
 
Network & Filesystem: Doing less cross rings memory copy
Network & Filesystem: Doing less cross rings memory copyNetwork & Filesystem: Doing less cross rings memory copy
Network & Filesystem: Doing less cross rings memory copyScaleway
 
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)Kubernetes @ Squarespace (SRE Portland Meetup October 2017)
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)Kevin Lynch
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
"How about no grep and zabbix?". ELK based alerts and metrics.
"How about no grep and zabbix?". ELK based alerts and metrics."How about no grep and zabbix?". ELK based alerts and metrics.
"How about no grep and zabbix?". ELK based alerts and metrics.Vladimir Pavkin
 
Marco Cattaneo "Event data processing in LHCb"
Marco Cattaneo "Event data processing in LHCb"Marco Cattaneo "Event data processing in LHCb"
Marco Cattaneo "Event data processing in LHCb"Yandex
 
SDN/OpenFlow #lspe
SDN/OpenFlow #lspeSDN/OpenFlow #lspe
SDN/OpenFlow #lspeChris Westin
 
2016-09-eclipse-iot-cf-summit
2016-09-eclipse-iot-cf-summit2016-09-eclipse-iot-cf-summit
2016-09-eclipse-iot-cf-summitMike Milinkovich
 
Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)
Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)
Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)Kota Tsuyuzaki
 
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7Eleni Trouva
 
Using eBPF to Measure the k8s Cluster Health
Using eBPF to Measure the k8s Cluster HealthUsing eBPF to Measure the k8s Cluster Health
Using eBPF to Measure the k8s Cluster HealthScyllaDB
 

Similar to LTTng (EclipseCon 2010) (20)

Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
 
LTTng-UST: Efficient System-Wide User-Space Tracing
LTTng-UST: Efficient System-Wide User-Space TracingLTTng-UST: Efficient System-Wide User-Space Tracing
LTTng-UST: Efficient System-Wide User-Space Tracing
 
Security Monitoring with eBPF
Security Monitoring with eBPFSecurity Monitoring with eBPF
Security Monitoring with eBPF
 
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
Superfluid Deployment of Virtual Functions: Exploiting Mobile Edge Computing ...
 
Gntc 2017 cord platform
Gntc 2017 cord platformGntc 2017 cord platform
Gntc 2017 cord platform
 
The Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco CloudThe Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco Cloud
 
Operating System fo IoT
Operating System fo IoTOperating System fo IoT
Operating System fo IoT
 
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
 
Network & Filesystem: Doing less cross rings memory copy
Network & Filesystem: Doing less cross rings memory copyNetwork & Filesystem: Doing less cross rings memory copy
Network & Filesystem: Doing less cross rings memory copy
 
Webrtc puzzle
Webrtc puzzleWebrtc puzzle
Webrtc puzzle
 
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)Kubernetes @ Squarespace (SRE Portland Meetup October 2017)
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
"How about no grep and zabbix?". ELK based alerts and metrics.
"How about no grep and zabbix?". ELK based alerts and metrics."How about no grep and zabbix?". ELK based alerts and metrics.
"How about no grep and zabbix?". ELK based alerts and metrics.
 
ECI OpenFlow 2.0 the Future of SDN
ECI OpenFlow 2.0 the Future of SDN ECI OpenFlow 2.0 the Future of SDN
ECI OpenFlow 2.0 the Future of SDN
 
Marco Cattaneo "Event data processing in LHCb"
Marco Cattaneo "Event data processing in LHCb"Marco Cattaneo "Event data processing in LHCb"
Marco Cattaneo "Event data processing in LHCb"
 
SDN/OpenFlow #lspe
SDN/OpenFlow #lspeSDN/OpenFlow #lspe
SDN/OpenFlow #lspe
 
2016-09-eclipse-iot-cf-summit
2016-09-eclipse-iot-cf-summit2016-09-eclipse-iot-cf-summit
2016-09-eclipse-iot-cf-summit
 
Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)
Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)
Global EC Cluster Updates (OpenStack Mitaka Swift Design Summit)
 
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
 
Using eBPF to Measure the k8s Cluster Health
Using eBPF to Measure the k8s Cluster HealthUsing eBPF to Measure the k8s Cluster Health
Using eBPF to Measure the k8s Cluster Health
 

LTTng (EclipseCon 2010)

  • 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
  • 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