Hi

We are currently finalizing the LTTng 2.0 Integration in Eclipse as part of the Eclipse Juno release.

As I understood you are using the source code of Eclipse LTTng 2.0 integration. After starting the Eclipse application, switch to the perspective "LTTng Kernel". By default the following views will show:

 * Project Explorer
   This view is for handling Tracing projects, traces and experiments.
   To start viewing a trace, use the New Project wizard of Eclipse to
   create "Tracing Project".  (Right mouse click in Project Explorer
   view -> New - Tracing Project). Then import a trace to the "Traces"
   sub-folder of you newly created project. (Right mouse click on
   folder "Traces"). You could also drag-&-drop a trace to the "Traces"
   sub-folder. Note that you need to select the the trace type during
   import (not drag&drop) or afterwards by using the context-sensitive
   menu on the trace (Right mouse-click on the trace -> Click on
   "Select Trace Type..." -> Common Trace Format -> Kernel Trace).
   After that you can open the trace.
 * Control
   This view is to create traces remotely using an SSH connection to a
   remote (or local) host. This if you want to create a session,
   enable/disable events or channels, start and stop tracing. You also
   can import create trace to your workspace
 * Events View
   This view contains a table displaying each event in a table form.
    From the top row you can search or filter events
 * Control Flow View
   This view shows the kernel control flow (process states over time).
   It uses internally a persistent state system which is create when
   you open the trace the first time. In this view you can zoom using
   cool bar buttons or mouse wheel. You can step from one event to the
   next/previous event per process using the relevant buttons.
 * Resources View
   This view shows you system resources such as CPUs, IRQs, Soft IRQs
   and their states over time. This view also uses the persistent state
   system I mentioned above. The buttons, zooming behaviour etc. are
   same as for the Control Flow View
 * Histogram View
   This view shows the event density (number of events over time). The
   big window shows the whole trace. The same one shows the current
   selected time range.
 * Statistics View
   This view shows you the total number events and number of events per
   event time of the whole trace
 * Bookmarks view
   Using the context-sensitive menu of the Events table you can
   bookmark events. In the bookmark view you can double-click on a
   bookmark and the event will be shown in the events table as well as
   in all other open LTTng views.

All views are synchronized. That means when selecting an event one of the view, it will be shown also in the other views. Additionally, when changing the active time range (e.g. in the Histogram View), also the Control Flow View/Resources View will show the new time range.

This was a brief introduction into what is coming up for the LTTng Juno. Keep in mind, that there might be still some bugs, so I apologizes for any glitches you may experience. These glitches will be fixed, as well as a comprehensive User Guide will be available for the Juno release.

Best Regards
Bernd

On 06/05/2012 05:27 AM, Francis Giraldeau wrote:
Le 2012-06-04 22:57, tchak adim a écrit :
for Eclipse tool :
i already follow the different steps to integrate the cft, lttng2
plugins as described in the link that u give it .
i don't konw how can i visualize the graphics of lttng kernel module
traces using eclipse , can u explain to me how ?
You need to select the lttng perspective, then create an lttng project,
import a trace trace and then it should show up. There are multiple
views, the event view displays events in a table, and the control flow
view shows process states according to time.

Cheers,

Francis




On 06/04/2012 04:57 PM, tchak adim wrote:
for Eclipse tool :
i already follow the different steps to integrate the cft, lttng2 plugins as described in the link that u give it . i don't konw how can i visualize the graphics of lttng kernel module traces using eclipse , can u explain to me how ?

For sourcery tool :
i didn't find the source code, i'm using an ordinary i386 machine running ubuntu 10.04.

Can u advice me and tell me what i can do ?

thanks in advance !

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to