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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Kernel Recipes 2013 - Viewing real time ltt trace using gtkwave

933

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. …

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
933
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
19
Comments
0
Likes
3
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. 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

×