Re: [GSOC - Tracing] Status Update

2018-07-04 Thread Vidushi Vashishth
>I am not sure you can do this without providing your own babeltrace source component in a separate plugin to what is already available. If the trace is not converted to a useful CTF format. Yes. The blog post is merely to demonstrate how to use babeltrace. We will not be dealing with text trace

Re: [GSOC - Tracing] Status Update

2018-07-04 Thread Guillaume Champagne
On Tue, 2018-07-03 at 07:50 +0530, Vidushi Vashishth wrote: > > 3. Clearly document your modifications in separate commit messages. > > > 4. Add a Makefile to build it automatically. > > I will push commits to a fork of the rtems. Have given a link to the > repository in the readme.md of the

Re: [GSOC - Tracing] Status Update

2018-07-03 Thread Sebastian Huber
On 03/07/18 14:50, Vidushi Vashishth wrote: Hi! > Ok, thanks, but why did you remove the RTEMS application? This is the first step. The repository should contain a sample application with a Makefile (or waf or whatever, but no manual steps) to generate a sample trace raw data. I was

Re: [GSOC - Tracing] Status Update

2018-07-02 Thread Vidushi Vashishth
> 3. Clearly document your modifications in separate commit messages. > 4. Add a Makefile to build it automatically. I will push commits to a fork of the rtems. Have given a link to the repository in the readme.md of the Tracing repo. Will that be okay? > 6. Document the steps involved in the

Re: [GSOC - Tracing] Status Update

2018-07-02 Thread Gedare Bloom
On Mon, Jul 2, 2018 at 1:27 AM, Sebastian Huber wrote: > Hello Vidushi, > > On 29/06/18 09:44, Vidushi Vashishth wrote: >> >> >> >Could you please create a self-contained repository which >> contains >> >> >* a README >> >> >* a simple RTEMS application which runs on a

Re: [GSOC - Tracing] Status Update

2018-07-01 Thread Sebastian Huber
Hello Vidushi, On 29/06/18 09:44, Vidushi Vashishth 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

Re: [GSOC - Tracing] Status Update

2018-06-30 Thread Vidushi Vashishth
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

Re: [GSOC - Tracing] Status Update

2018-06-30 Thread Chris Johns
On 29 Jun 2018, at 5:44 pm, Vidushi Vashishth 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

Re: [GSOC - Tracing] Status Update

2018-06-29 Thread Vidushi Vashishth
> > >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

Re: [GSOC - Tracing] Status Update

2018-06-28 Thread Sebastian Huber
On 28/06/18 19:41, Vidushi Vashishth 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

Re: [GSOC - Tracing] Status Update

2018-06-28 Thread Vidushi Vashishth
>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

Re: [GSOC - Tracing] Status Update

2018-06-28 Thread Sebastian Huber
On 28/06/18 07:42, Vidushi Vashishth wrote: >which use case does this address? What is the connection to an RTEMS application? 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

Re: [GSOC - Tracing] Status Update

2018-06-27 Thread Vidushi Vashishth
>which use case does this address? What is the connection to an RTEMS application? 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

Re: [GSOC - Tracing] Status Update

2018-06-27 Thread Vidushi Vashishth
>Run on what? RTEMS? yes. >Are there any RTEMS repos with your work? I havent pushed my code since it is throwing errors. Should I push it nonetheless for you to see? Or create another repo? >RTEMS does not support `system()`. Does RTEMS support fdopen or popen? I am trying to execute the

Re: [GSOC - Tracing] Status Update

2018-06-27 Thread Sebastian Huber
Hello, On 28/06/18 05:48, Vidushi Vashishth wrote: Hi! Sorry for the delay. I had been trying to make the code run. https://github.com/VidushiVashishth/babeltrace/tree/master/Demo This is a demonstration of the how to use babeltrace to convert rtems traces. which use case does this address?

Re: [GSOC - Tracing] Status Update

2018-06-27 Thread Chris Johns
On 28/06/2018 13:48, Vidushi Vashishth wrote: > > Sorry for the delay. I had been trying to make the code run. Run on what? RTEMS? > https://github.com/VidushiVashishth/babeltrace/tree/master/Demo Are there any RTEMS repos with your work? > This is a demonstration of the how to use babeltrace

Re: [GSOC - Tracing] Status Update

2018-06-27 Thread Vidushi Vashishth
Hi! Sorry for the delay. I had been trying to make the code run. https://github.com/VidushiVashishth/babeltrace/tree/master/Demo This is a demonstration of the how to use babeltrace to convert rtems traces. I have integrated the program.c code in the rtems main_rtrace.c file. This is throwing

Re: [GSoC - Tracing] Status

2018-06-21 Thread Sebastian Huber
Hello Vidushi, On 12/06/18 14:22, Vidushi Vashishth wrote: >in case you receive comments for your patches the highest priority should be to fix the problems with the patches and send the next revision of the patch to the list, e.g. fixing trivial things like the line ?>length should be done in

Re: [GSoC - Tracing] Status

2018-06-12 Thread Vidushi Vashishth
Hi! >in case you receive comments for your patches the highest priority should be to fix the problems with the patches and send the next revision of the patch to the list, e.g. fixing trivial things like the line ?>length should be done in a couple of minutes. If you think a comment is invalid or

Re: [GSoC] Tracing

2018-05-29 Thread Vidushi Vashishth
Hi! Just updating that I have sent a patch which fixes the trace buffer generation. I am now able to generate trace buffers for the fileio sample testcase. I will begin work on CTF conversion now. Thanks, Vidushi On Tue, May 29, 2018 at 1:00 PM, Vidushi Vashishth wrote: > Hey Sebastian! > >

Re: [GSoC] Tracing

2018-05-29 Thread Vidushi Vashishth
Hey Sebastian! Yes I have been working on the trace linker the past week. It is outdated and needs improvements. A lot of my work depends on me fixing the trace linker. I had informed about this last week during the meeting. I thought I would update you as soon as I make progress. Nevertheless