Kernel Recipes 2013 - Viewing real time  ltt trace using gtkwave
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Kernel Recipes 2013 - Viewing real time ltt trace using gtkwave

  • 1,193 views
Uploaded on

This presentation will explain how to use some ltt to be viewd in gtkwave, a graphical visualization tool, developped by the Parrot team. ...

This presentation will explain how to use some ltt to be viewd in gtkwave, a graphical visualization tool, developped by the Parrot team.

It will also explain why this tool was developed, review some of the problems that have been analyzed using these traces. It will finally end up on the ongoing integration with LTTng 2.x.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,193
On Slideshare
1,083
From Embeds
110
Number of Embeds
2

Actions

Shares
Downloads
18
Comments
0
Likes
3

Embeds 110

https://kernel-recipes.org 108
https://twitter.com 2

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. Viewing LTTng traces with GTKWave ivan.djelic@parrot.com Sept 2013 LTTng+GTKWave
  • 2. What is LTT ? ▶ Linux Trace Toolkit, appeared circa 1999 (http://www.opersys.com) ▶ Kernel patch + kernel module + userland daemon + tools ▶ Collects kernel event-data: interrupts, context switches, page faults, syscalls, etc ▶ Userspace events also supported ▶ Traces can be post-processed and viewed with LTTV ▶ LTT now superseded by LTTng (http://lttng.org) LTTng+GTKWave LTTng
  • 3. LTTng 2.x ▶ Released in 2011 ▶ Advanced low-overhead architecture ▶ Kernel patch no longer needed ! ▶ Uses new trace format (CTF, Common Trace Format) ▶ LTTV support WIP ▶ Eclipse plugin: http://www.eclipse.org/linuxtools/projectPages/lttng ▶ LTTng 2.x/0.x events are different: no compatibility with old LTTng tools LTTng+GTKWave LTTng
  • 4. LTTV for LTTng LTTng+GTKWave LTTng
  • 5. Eclipse LTTng perspective LTTng+GTKWave LTTng
  • 6. What is GTKWave ? ▶ GTK+ based waveform viewer ▶ Supports several le formats: FST, Verilog VCD, GHW, etc ▶ Handles large trace les and many trace signals at once ▶ Provides C library for creating traces in its native LXT le format LTTng+GTKWave GTKWave
  • 7. GTKWave in action LTTng+GTKWave GTKWave
  • 8. LTTng+GTKWave ▶ A tool called ltt2lxt parses an LTT trace and generates two les: ▶ a .lxt le (an LXT trace) ▶ a .sav le (a layout of the signals) ▶ Supports LTTng-0.x (legacy) traces, support for LTTng-2.x trace is alpha ▶ Kernel symbols optionally used to convert addresses into function():line strings ▶ Makes use of GTKWave nice zooming features ▶ Does not replace but complements LTTV and other tools LTTng+GTKWave Viewing LTTng traces in GTKWave
  • 9. Conversion tools: ltt2lxt and lttng2lxt LTTng+GTKWave Viewing LTTng traces in GTKWave
  • 10. An LTTng trace in GTKwave LTTng+GTKWave Viewing LTTng traces in GTKWave
  • 11. To contribute... ▶ https://github.com/idjelic/lttng2lxt LTTng+GTKWave Viewing LTTng traces in GTKWave