<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Vidushi Vashishth</b> <span dir="ltr"><<a href="mailto:reachvidu@gmail.com">reachvidu@gmail.com</a>></span><br>Date: Mon, Apr 30, 2018 at 11:42 PM<br>Subject: Re: GSOC'18 project description<br>To: Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>><br><br><br><div dir="ltr"><span class=""><font color="#20124d">><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Vidushi can add a task of creating a babeltrace formula for conversion</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">from your custom format to CTF to facilitate unified analysis. Just</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">need a good description and examples of the custom format I guess.</span></font><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></span>Sure I can do that. I will get started with the babeltrace formula and a sample custom format to CTF conversion example. <span class=""><div><br></div><div><font color="#20124d">><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Yes, it would be good to have tickets at the start of each phase as a</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">way to track progress and issues. Vidushi, maybe you can begin by</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">pulling out of your proposal the few tasks in Phase 1 and create a new</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ticket for each one?</span></font></div><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">Yes that makes sense. For the first phase of my project I can think of making three tickets: </span></div><div><span style="font-size:12.8px">1) Making improvements to barectf: adding struct and array support</span></div><div><span style="font-size:12.8px">2) Creating a rtems-tld generator which binds the barectf calls to the generated C code</span></div><div><span style="font-size:12.8px">3) Integrating barectf output support with capture engine.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">If this seems fine I will make the required tickets and link them to my wiki project page.<br></span><span class=""><div class="gmail_extra"><br></div><div class="gmail_extra"><font color="#20124d">><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">This is a good and important question. I think there should be a</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">section in this User Manual under Host Tools for the Babeltrace/Debug</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">tools that use the CTF output. There will also likely need to be</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">additions to the Classic API guide for "Configuring a System" and</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">improvements to description of the Capture Engine, which I'm currently</span><br style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">having trouble finding.</span></font></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">I can make the required documentation in this manner. However, I think a single place that can summarize the tracing setup with a 'quickstart' would be easier for the users.</div><div class="gmail_extra">Also while reading up documentation I found this page: <a href="https://docs.rtems.org/branches/master/user/tools/linker.html" target="_blank">https://docs.rtems.org/<wbr>branches/master/user/tools/<wbr>linker.html</a> </div><div class="gmail_extra">The description on the page says "not complete". Is someone working on this currently? Since rtems linker is a part of the tracing system I could use this for my understanding. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Best,</div><div class="gmail_extra">Vidushi</div><div><div class="h5"><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 30, 2018 at 9:39 PM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="m_-7289167252534644142gmail-HOEnZb"><div class="m_-7289167252534644142gmail-h5">On Mon, Apr 30, 2018 at 6:05 AM, Sebastian Huber<br>
<<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brai<wbr>ns.de</a>> wrote:<br>
> Hello Vidushi,<br>
><br>
> On 30/04/18 09:15, Vidushi Vashishth wrote:<br>
>><br>
>> Hello!<br>
>><br>
>> I am Vidushi Vashishth, and I have been selected for the Google Summer of<br>
>> Code'18 program. I look forward to a productive and enriching summer with<br>
>> the RTEMS community.<br>
><br>
><br>
> I am looking forward to get some new insights into a network stack<br>
> performance issue with 10Gbit/s Ethernet on a QorIQ T4240 with your tracing<br>
> support.<br>
><br>
>><br>
>> I will be working on enhancement of the tracing system of RTEMS, under the<br>
>> guidance of mentors: Gedare Bloom, Chris Johns and Sebastian Huber. The main<br>
>> objectives of my project are threefold:<br>
>><br>
>> 1) Combine the Common Trace Format with the functionality of the Trace<br>
>> Linker. I will be working with barectf and rtems-tld in this regard.<br>
>> 2) Coming up with a synchronisation and transport mechanism to send trace<br>
>> records to the host machine.<br>
>> 3) Investigate the importance of live tracing functionality and addition<br>
>> of kernel level tracing. I will design both possibilities and decide which<br>
>> one to work on by the end of phase 1 of my evaluation.<br>
><br>
><br>
> I work currently on a new low level infrastructure to support gathering of<br>
> thread (create, delete, terminate, switch) and interrupt (entry, exit)<br>
> events. Similar to the capture engine, but with less overhead. I would like<br>
> to be able to gather at least 200000 events per second per processor (24 on<br>
> the QorIQ T4240). This results in about 80MiB/s of data so that I can<br>
> transfer it easily via a 1Gbit/s Ethernet interface.<br>
><br>
> I don't know how to setup the CTF infrastructure to display this data. I<br>
> hope that you can help me here.<br>
><br>
<br>
</div></div>Vidushi can add a task of creating a babeltrace formula for conversion<br>
from your custom format to CTF to facilitate unified analysis. Just<br>
need a good description and examples of the custom format I guess.<br>
<span class="m_-7289167252534644142gmail-"><br>
>><br>
>> The wiki page for my project is:<br>
>> <a href="https://devel.rtems.org/wiki/GSoC/2018/EnhancementRuntimeTracing" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/G<wbr>SoC/2018/EnhancementRuntimeTra<wbr>cing</a><br>
>><br>
>> I will be documenting the progress of my project on my blog:<br>
>> <a href="https://vidushivashishth.github.io/" rel="noreferrer" target="_blank">https://vidushivashishth.githu<wbr>b.io/</a><br>
>><br>
>> Both of these sources are empty right now but will be modified with<br>
>> relevant information over the course of this summer.<br>
><br>
><br>
> I would prefer to use the ticket system as much as possible for this<br>
> project.<br>
><br>
<br>
</span>Yes, it would be good to have tickets at the start of each phase as a<br>
way to track progress and issues. Vidushi, maybe you can begin by<br>
pulling out of your proposal the few tasks in Phase 1 and create a new<br>
ticket for each one?<br>
<span class="m_-7289167252534644142gmail-"><br>
> The main audience for the runtime tracing are the RTEMS users. A key issue<br>
> is to provide adequate documentation so that it is easy to use. If you need<br>
> this tracing then you probably have a nasty application issue and no time to<br>
> struggle with setting up things with a project deadline looming. Where<br>
> should this documentation go? A new chapter in the User Manual<br>
><br>
> <a href="https://docs.rtems.org/branches/master/user/index.html" rel="noreferrer" target="_blank">https://docs.rtems.org/branche<wbr>s/master/user/index.html</a><br>
><br>
> ?<br>
><br>
<br>
</span>This is a good and important question. I think there should be a<br>
section in this User Manual under Host Tools for the Babeltrace/Debug<br>
tools that use the CTF output. There will also likely need to be<br>
additions to the Classic API guide for "Configuring a System" and<br>
improvements to description of the Capture Engine, which I'm currently<br>
having trouble finding.<br>
<br>
Gedare<br>
<span class="m_-7289167252534644142gmail-"><br>
> --<br>
> Sebastian Huber, embedded brains GmbH<br>
><br>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
> Phone : +49 89 189 47 41-16<br>
> Fax : +49 89 189 47 41-09<br>
> E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
> PGP : Public key available on request.<br>
><br>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
><br>
</span>> ______________________________<wbr>_________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br>
______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a></blockquote></div><br></div></div></div></div></div>
</div><br></div>