GSoC Project | Basic Support for Trace Compass
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jul 15 09:40:02 UTC 2019
On 15/07/2019 10:54, Ravindra Kumar Meena wrote:
> > The metadata file is in misc/record/ctf. The directory would look
> clean.
> > Isn't it needed?
>
> Just store the stuff in the current directory. Later we may add a new
> command line option to optionally specify an output directory.
>
> Okay
>
> Write the packet header and context with all values set which you know
> at startup, then write the events, then call fseek() to move the file
> pointer to the begin of the file, write the packet header and context
> again, with all values.
>
>
> Have made changes.
> https://github.com/rmeena840/rtems-tools/commit/9417aae5d19857489d93eba1c52bb94a7b2d67ec
>
>
> https://github.com/rmeena840/rtems-tools/commit/6581dd57225ba3171886973b0182487c409f35d2
>
> Have a look.
>
> I added the dummy data at the starting of the file. So that only this
> part of the file can be overwritten later after obtaining the relevant
> values.
You need timestamps per-CPU. Please don't use global variables. Add the
data you need to client_context.
--
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.
More information about the devel
mailing list