[GSOC - Tracing] Status Update
Vidushi Vashishth
reachvidu at gmail.com
Sun Jul 1 03:18:50 UTC 2018
Hi!
https://github.com/VidushiVashishth/Tracing
This is the required repository. I read up the POSIX API documentation to
understand that nothing of the like of system( ) would work on rtems since
its a single process os.
The main_rtrace.c in the given repository currently consists of this wrong
approach. There are two options that I can do.
1) See if babelltrace C API would work and replace the system call logic
with this.
OR
2) Continue with the barectf approach. PFA the metadata file that I came up
with for this purpose.
A typical trace will consist a single stream. Events inside the stream will
have three fields for name of the function, two input argument values or
one return value (according to whether the event describes the entry or
exit of the function being traced)
Things to be done in this method:
1) Convert the metada file to a yaml configuration file. (almost done)
2) Inspect the header and c file generated by barectf for this configuration
3) Create a trace linker generator which binds these barectf function calls
to tracing.
Checkout the barectf documentation to see how it works:
I will send the yaml configuration too when its done. What do you suggest I
should do?
References:
https://github.com/efficios/barectf/wiki/Using-barectf
Thanks
On Sun, Jul 1, 2018 at 7:12 AM, Chris Johns <chrisj at rtems.org> wrote:
>
> On 29 Jun 2018, at 5:44 pm, Vidushi Vashishth <reachvidu at gmail.com> wrote:
>
> >Could you please create a self-contained repository which contains
>>>
>>> >* a README
>>>
>>> >* a simple RTEMS application which runs on a simulator BSP
>>>
>>> >* the stuff that makes it possible to view the trace output (it is not
>>> a problem if it doesn't work, but all pieces should be included)
>>>
>>> >The repository should not be a clone of some larger project. It may
>>> contain external references as submodules.
>>>
>>> Okay. Got it. I will update you when its done.
>>>
>>
>> Ok, do you have a time estimate for this? Which parts are missing?
>
>
> Viewing the trace output is buggy right now. I will have to combine the
> rest. I will push the required things in the repository by end of today and
> notify you.
>
>
> Did this happen?
>
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180701/5a5b70db/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata
Type: application/octet-stream
Size: 1270 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180701/5a5b70db/attachment-0002.obj>
More information about the devel
mailing list