<div dir="ltr"><div>Sorry for the delayed response. <br></div><div><span style="color:rgb(76,17,48)"><br></span></div><div><span style="color:rgb(76,17,48)">>We would need the complete "babeltrace run" command. But it seems that this is a<br>
permission problem more than a problem with babeltrace</span></div><div><br></div><div><font color="#000000">I figured it out. The problem was with my run command. I was using:</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">sudo babeltrace run --component=A:source.text.dmesg --params='no-extract-timestamp=yes' --key=path --value ~/Desktop/add.txt --component=B:sink.ctf.fs --key=path --value ~/Desktop/ --connect=A:B<br></font></div><div><font color="#000000"><br></font></div><div><span style="color:rgb(0,0,0)">The `sudo` in the command was creating problems. It works when I drop it. I have another question, RTEMS trace output is either printed on console or can be saved in binary files. How should I go about creating a plugin for RTEMS binary output? Are there any samples or documentation which can guide me in this regard?<br></span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">Thanks</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 3, 2018 at 8:09 PM, Jonathan Rajotte-Julien <span dir="ltr"><<a href="mailto:jonathan.rajotte-julien@efficios.com" target="_blank">jonathan.rajotte-julien@efficios.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vidushi,<br>
<span class=""><br>
On Tue, Jul 03, 2018 at 12:23:04AM +0530, Vidushi Vashishth wrote:<br>
> Hi!<br>
> <br>
> I am Vidushi. I am working on adding CTF trace generation capability to the<br>
> tracing framework of RTEMS this summer (as a part of my GSoC project).<br>
<br>
</span>Nice!<br>
<span class=""><br>
>I am<br>
> using babeltrace in this regard. While I am able to convert the RTEMS text<br>
> output to CTF format using `babeltrace run` on the command line, the output<br>
> is stored in a directory which does not have access permissions.<br>
<br>
</span>We would need the complete "babeltrace run" command. But it seems that this is a<br>
permission problem more than a problem with babeltrace.<br>
<span class=""><br>
> I am able<br>
> to get inside the directory by changing permissions (chmod) and list its<br>
> contents (sudo ls) but I cannot view the metadata and CTF stream output or<br>
> delete the said directory. Is there a way I can view/delete the contents of<br>
> the trace directory?<br>
<br>
</span>Do you have "tree" installed on you system?<br>
<br>
Could you try "tree -ugp <directory>"<br>
<br>
What do you mean by "I cannot view the metadata and CTF stream output"?<br>
<br>
Cheers<br>
<span class=""><br>
<br>
> <br>
> I am sorry if this is too obvious. I am new to this.<br>
> <br>
> Thanks<br>
> Vidushi Vashishth<br>
<br>
</span>> ______________________________<wbr>_________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" rel="noreferrer" target="_blank">https://lists.lttng.org/cgi-<wbr>bin/mailman/listinfo/lttng-dev</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Jonathan Rajotte-Julien<br>
EfficiOS<br>
</font></span></blockquote></div><br></div>