Viewing LTTng traces with GTKWave
ivan.djelic@parrot.com
Sept 2013
LTTng+GTKWave
What is LTT ?
▶ Linux Trace Toolkit, appeared circa 1999 (http://www.opersys.com)
▶ Kernel patch + kernel module + userlan...
LTTng 2.x
▶ Released in 2011
▶ Advanced low-overhead architecture
▶ Kernel patch no longer needed !
▶ Uses new trace forma...
LTTV for LTTng
LTTng+GTKWave LTTng
Eclipse LTTng perspective
LTTng+GTKWave LTTng
What is GTKWave ?
▶ GTK+ based waveform viewer
▶ Supports several le formats: FST, Verilog VCD, GHW, etc
▶ Handles large t...
GTKWave in action
LTTng+GTKWave GTKWave
LTTng+GTKWave
▶ A tool called ltt2lxt parses an LTT trace and generates two
les:
▶ a .lxt le (an LXT trace)
▶ a .sav le (a...
Conversion tools: ltt2lxt and lttng2lxt
LTTng+GTKWave Viewing LTTng traces in GTKWave
An LTTng trace in GTKwave
LTTng+GTKWave Viewing LTTng traces in GTKWave
To contribute...
▶ https://github.com/idjelic/lttng2lxt
LTTng+GTKWave Viewing LTTng traces in GTKWave
Upcoming SlideShare
Loading in...5
×

Kernel Recipes 2013 - Viewing real time ltt trace using gtkwave

996

Published on

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.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
996
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
19
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Kernel Recipes 2013 - Viewing real time ltt trace using gtkwave

  1. 1. Viewing LTTng traces with GTKWave ivan.djelic@parrot.com Sept 2013 LTTng+GTKWave
  2. 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. 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. 4. LTTV for LTTng LTTng+GTKWave LTTng
  5. 5. Eclipse LTTng perspective LTTng+GTKWave LTTng
  6. 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. 7. GTKWave in action LTTng+GTKWave GTKWave
  8. 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. 9. Conversion tools: ltt2lxt and lttng2lxt LTTng+GTKWave Viewing LTTng traces in GTKWave
  10. 10. An LTTng trace in GTKwave LTTng+GTKWave Viewing LTTng traces in GTKWave
  11. 11. To contribute... ▶ https://github.com/idjelic/lttng2lxt LTTng+GTKWave Viewing LTTng traces in GTKWave
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×