<div dir="ltr"><font color="#4c1130">>Could you please create a self-contained repository which contains<br><br>>* a README<br><br>>* a simple RTEMS application which runs on a simulator BSP<br><br>>* 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)<br><br>>The repository should not be a clone of some larger project. It may contain external references as submodules.</font><span class="gmail-"><font color="#4c1130"><br style="font-family:arial,sans-serif;font-size:small;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"></font><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;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">Okay. Got it. I will update you when its done. </span><div><span class="gmail-"><br></span></div><div><span class="gmail-"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font color="#4c1130">>Did you modify babeltrace?</font></span></span></div><div><span class="gmail-"><font color="#351c75"><br></font></span></div><div><span class="gmail-"><font color="#000000">No I did not.</font><br style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font color="#4c1130"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">>Why do you need a very recent babeltrace for your work?</span> </font></span></div><div><span class="gmail-"><font color="#000000"><br></font></span></div><div><span class="gmail-"><font color="#000000">I haven't tested the code with other versions of babeltrace. I cant say why it does not work with others. I ll try to test the code with other versions and identify what's wrong. </font><br class="gmail-Apple-interchange-newline"></span><br></div><div><font color="#4c1130">>

<span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Is visualization with Trace Compass a goal of this project?</span></font>

</div><div><font color="#4c1130"><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></font></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font color="#000000">No it isn't. Trace generation in CTF is a goal. </font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 28, 2018 at 11:43 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28/06/18 07:42, Vidushi Vashishth wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>which use case does this address? What is the connection to an RTEMS application?<br>
This converts the trace buffering of the fileio sample testcase output to CTF. This pertains to the function tracing testcase. The CTF stream generated records the entry and exit of the calloc, malloc, realloc and free functions and also the values of the arguments and return values.<br>
</blockquote>
<br></span>
Could you please create a self-contained repository which contains<br>
<br>
* a README<br>
<br>
* a simple RTEMS application which runs on a simulator BSP<br>
<br>
* 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)<br>
<br>
The repository should not be a clone of some larger project. It may contain external references as submodules.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>Why do I need sudo to run the commands?<br>
The command needs permission to create a directory for the traces. The command did not work without this.<br>
</blockquote>
<br></span>
It worked without sudo in my clone. Using sudo for this kind of stuff would be a very severe usability issue from my point of view.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>Why do I need your babeltrace? Not being able to use a tool from a standard distribution makes it harder to do RTEMS tracing.<br>
I wanted to work on integrating barectf with RTEMS trace linker instead. I documented the approach in: <a href="https://vidushivashishth.github.io/sixthpost/" rel="noreferrer" target="_blank">https://vidushivashishth.githu<wbr>b.io/sixthpost/</a>.<br>
</blockquote>
<br></span>
Could you please also post your stuff on the <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a> mailing list. I don't have time to look for blog posts actively.<br>
<br>
Did you modify babeltrace?<br>
<br>
Why do you need a very recent babeltrace for your work?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was stuck on deciding the yaml configuration input for the process and sent out an email for this discussion on the mailing list as well. I have however finally created one. I can continue work on the barectf approach if that is okay with you? I will start a new thread on this with the configuration file I have chosen?<br>
</blockquote>
<br></span>
I need a demo projects which puts all the pieces together. This is all to abstract to me.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>What can I do with a metadata stream and the CTF trace stream?<br>
These can be transported to the host and then viewed using Trace Compass.<br>
<br>
I lost some time trying to figure things out on my own. I will be more frequent in communicating places where I am stuck. Apologies for the same.<br>
</blockquote>
<br></span>
Is visualization with Trace Compass a goal of this project?<div class="HOEnZb"><div class="h5"><br>
<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>
</div></div></blockquote></div><br></div>