GSoC Project | Basic Support for Trace Compass
Ravindra Kumar Meena
rmeena840 at gmail.com
Thu May 30 07:08:56 UTC 2019
Hi Sebastian,
I talked to babeltrace community and come to the conclusion that current
stable version 1.5.6 of babeltrace is not capable of converting live trace
stream data into CTF.
This feature is currently in development and will be released in babeltrace
2.0.
If we are able to store the current traces in the disk then I think we
convert it to CTF later.
Thanks
On Tue, May 28, 2019 at 1:49 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 28/05/2019 10:14, Ravindra Kumar Meena wrote:
> > On Tue, May 28, 2019 at 12:51 PM Sebastian Huber
> > <sebastian.huber at embedded-brains.de
> > <mailto:sebastian.huber at embedded-brains.de>> wrote:
> >
> >
> > In case the application is an RTEMS application running inside Qemu,
> > then of course babletrace will have problems to understand the record
> > item steam since it is not in CTF format. We have the following
> > situation:
> >
> > [ RTEMS application with event recording running on Qemu ]
> > <- TCP stream of record items ->
> > [ babeltrace ]
> >
> > What we probably need is something like this:
> >
> > [ RTEMS application with event recording running on Qemu ]
> > <- TCP stream of record items ->
> > [ custom converter program ]
> > <- TCP stream of CTF data ->
> > [ babeltrace ] or [ Trace Compass ]
> >
> >
> > Okay. Thanks for the clarification. The small example that I showed
> > you where CTF data was printed in text format using babeltrace. It
> > requires LTTng-UST. We can't use it because you had already mentioned
> > that there is a license problem with it.
> >
> > With LTTng-UST I was able to define tracepoint provider package and
> > tracepoints in the program. You can follow this link in case if you
> > wanna have a look at it again.
> > https://lttng.org/docs/v2.10/#doc-tracing-your-own-user-application
> >
> > Without the help of LTTng-UST how we will be able to define
> > tracepoints in the program?
>
> Defining tracepoints in RTEMS applications is currently outside the
> scope of this project. You should really focus on the things mentioned
> in ticket:
>
> https://devel.rtems.org/ticket/3696
>
> The primary goal is to convert the record item stream into something which
> Trace Compass understands. As a first step, you can simplify this to:
> convert the record item stream into a CTF stream which babeltrace
> understands.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : sebastian.huber at embedded-brains.de
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190530/ec65fcc6/attachment-0002.html>
More information about the devel
mailing list