|Re: LTTng 2.0 [message #847701 is a reply to message #840195]
||Tue, 17 April 2012 15:13
| Francois Chouinard
Registered: July 2009
After a bit of cleanup, the CTF code finally made it in the master branch and the nightly build (P2 repo: http://download.eclipse.org/technology/linuxtools/updates-nightly).
As mentioned before, only the basic views work for now (Events, Histogram, Statistics, Project). The others are a work-in-progress as we are fitting the kernel analysis views to our new state system management.
If you installed the LTTng 2.0 tracer on your target system (which can be your main system), you can create your own traces. Info for trace control and collection can be found here: http://wiki.eclipse.org/index.php/Linux_Tools_Project/LTTng/User_Guide#LTTng_Tracer_Control_.28LTTng_Tracer_Toolchain_v2.0.29.
If you don't have CTF traces handy or don't want to instrument your system, we could provide some samples on demand.
Before opening a trace you have to specify its type so the correct parser is used to process it, in this case the CTF parser. This can be done e.g. at import time by selecting "LTTng -> LTTng 2.0 Kernel Type" as the trace type. The trace icon should change to a penguin. Opening the trace (select and press "Enter" in the Project view) should populate the views immediately.
If you try to assign the legacy format parser ("LTTng -> Kernel Trace"), you will get an immediate error.
Hope this helps. For more info/clarifications, please consult the wiki/user guide (http://wiki.eclipse.org/index.php/Linux_Tools_Project/LTTng/User_Guide) or simply post a question.
Powered by FUDForum
. Page generated in 0.01988 seconds