<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Stavros,<br>
<br>
First, thanks for the interest :)<br>
<br>
To add support for a new trace type to TMF, you basically have 2
options: either you first convert your trace to another supported
format, or you write a parser in TMF. In practice, the second option
is easier. There is, imho, not much gain in converting existing
traces to CTF, that just ends up being an extra intermediate format.
(On the other hand, if you tracer directly writes in CTF, that can
net you advantages).<br>
<br>
If your trace is in text format, it's possible to create a custom
text parser, which you can define directly from the UI using regular
expressions. If it's a binary format, then that requires writing
some Java code.<br>
<br>
<br>
Next, you'll typically want to add views/analyses for your trace
type. The view in your screenshot look quite doable, using our
generic Time Graph View. You can see a screenshot of the Control
Flow and Resource View, both based on the Time Graph views, on that
page:<br>
<a class="moz-txt-link-freetext" href="http://eclipse.org/linuxtools/projectPages/lttng/">http://eclipse.org/linuxtools/projectPages/lttng/</a><br>
<br>
(Latest version also supports showing arrows in the time graph. The
latest Control Flow View does so, to show the "flow" of each CPU. We
should update that screenshot...)<br>
<br>
Another thing to note, a very new feature in TMF is the possibility
to define analyses and views using XML definitions, so you do not
need to write Java code to create a custom view. This makes it VERY
easy to create new views! The data-driven views are a bit more
limited than the "Java-driven" ones (for example, I think right now
arrows are not supported in the data-driven views), but it's slowly
improving.<br>
<br>
<br>
If you have any other questions, please let us know!<br>
<br>
Cheers,<br>
Alexandre<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/12/2014 07:56 AM, Stavros
Giannakopoulos wrote:<br>
</div>
<blockquote
cite="mid:B248AFF88F37C1408AA08E754F6BD3364C24D9@ESESSMB103.ericsson.se"
type="cite">
<pre wrap="">
Greetings,
i am running a project on behalf or Ericsson Sweden regarding tracing on a custom multicore architecture.
I came across your tools through a colleague and It seems that they might be appropriate for our work, especially TMF since we already utilize
eclipse quite heavily.
I have some technical questions though, and I would like some feedback so I know whether our specifications can be covered by that or some similar tool.
Please forward this email to the appropriate department if possible.
The specifications we have are:
1. The trace we are interested in is a process-centric view of the events (or actors in our system) along with their respective threads, that will run on specific cores.
2. We don't need to capture the traces, that has been already done, only to parse the generated file and produce a graphical view that includes the processes, threads, cores and the messages that trigger new processes.
is that possible?
3. We have the trace files in .lat format already which are generated by using the Flexus tools. What I want to know if there is a conversion tool available or we need to develop a script to do the conversion to a suitable format (CTF). And if the TMF or LTTV can produce this result from a custom trace file and not a kernel trace.
Observe on Fig 1 a simplified view of our needs. In practice there will be a few thousands processes in tens of cores and the start/end times and the messages are essential.
Fig 1: Example of result wanted.
[<a class="moz-txt-link-freetext" href="cid:image002.jpg@01CF8644.F8F779E0">cid:image002.jpg@01CF8644.F8F779E0</a>]
Please reply on my email: <a class="moz-txt-link-abbreviated" href="mailto:stavros.giannakopoulos@ericsson.com">stavros.giannakopoulos@ericsson.com</a><a class="moz-txt-link-rfc2396E" href="mailto:stavros.giannakopoulos@ericsson.com"><mailto:stavros.giannakopoulos@ericsson.com></a>
or contact Johan Mellgren at <a class="moz-txt-link-abbreviated" href="mailto:johan.q.mellgren@ericsson.com">johan.q.mellgren@ericsson.com</a><a class="moz-txt-link-rfc2396E" href="mailto:johan.q.mellgren@ericsson.com"><mailto:johan.q.mellgren@ericsson.com></a>
Regards,
Stavros Giannakopoulos
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lttng-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>