Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-06-11 Thread vivek kukreja
Hello Chris, > On 30-May-2016, at 10:38, Chris Johns wrote: > >> On 30/05/2016 13:51, vivek kukreja wrote: >> >> The init.c file for capture example doesnt include confdefs.h. Are there any >> other examples i can look at? > > The capture init.c in the testsuite includes system.h. I suggest y

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-29 Thread Chris Johns
On 30/05/2016 13:51, vivek kukreja wrote: The init.c file for capture example doesnt include confdefs.h. Are there any other examples i can look at? The capture init.c in the testsuite includes system.h. I suggest you take a look in that file. The ctrace command(specifically rtems_captur

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-29 Thread vivek kukreja
Hello Chris, The init.c file for capture example doesnt include confdefs.h. Are there any other examples i can look at? The ctrace command(specifically rtems_capture_print_trace_records function) calls rtems_capture_read to read records from cpu buffers which returns RTEMS_UNSATISFIED. Regard

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-27 Thread Chris Johns
On 26/05/2016 10:46 PM, vivek kukreja wrote: I'm facing a problem with function tracing. I made changes to rtems-tld Can you please send me a diff off-line? Thanks. command to ouput a CTF metadata file but i need sizes of arguments and return values at compile-time to be put in the metadata f

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-27 Thread Chris Johns
On 27/05/2016 4:22 PM, vivek kukreja wrote: Now the ctrace command returns the following error: trace read failed: RTEMS_UNSATISFIED. Is there enough resources defined in your init.c where confdefs.h is included? I think the problem lies in rtems_capture_read function call in capture_suppo

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-26 Thread vivek kukreja
Now the ctrace command returns the following error: trace read failed: RTEMS_UNSATISFIED. I think the problem lies in rtems_capture_read function call in capture_support.c file. Im trying to debug the capture engine code. Does anyone how to resolve this? > On 26-May-2016, at 23:56, vivek kukreja

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-26 Thread vivek kukreja
On Thu, May 26, 2016 at 6:16 PM, vivek kukreja wrote: > > Hello all, > > I'm facing a problem with function tracing. I made changes to rtems-tld > command to ouput a CTF metadata file but i need sizes of arguments and return > values at compile-time to be put in the metadata file. > For now i ha

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-26 Thread vivek kukreja
Hello all, I'm facing a problem with function tracing. I made changes to rtems-tld command to ouput a CTF metadata file but i need sizes of arguments and return values at compile-time to be put in the metadata file. For now i have yet to put actual variable sizes. Any recommendations how to go abo

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-23 Thread Chris Johns
On 23/05/2016 23:19, Isaac Gutekunst wrote: Hi Vivek, This is looking good! I agree. I somewhat sketchy solution for getting binary files off a target is to print them as intel hex, and copy them from the terminal. If the Zynq bsp supports networking, you could setup a TFTP server. My ugly t

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-23 Thread Isaac Gutekunst
Hi Vivek, This is looking good! I somewhat sketchy solution for getting binary files off a target is to print them as intel hex, and copy them from the terminal. If the Zynq bsp supports networking, you could setup a TFTP server. My ugly trace implementation implements the lttng-live protocol

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-16 Thread vivek kukreja
Hello all, Thanks for the prompt answer regarding libBSD drivers Chris. I found a few links and have setup Qemu for Xilinx Zynq A9. I will try to build drivers for USB and Ethernet and run a few examples on qemu by next week. I have made some rudimentary changes in rtems-tld and rtrace shell uti

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-10 Thread vivek kukreja
On Tue, May 10, 2016 at 11:10 AM, vivek kukreja wrote: > Hello Chris, Joel, Isaac, > > Sorry for the delay in getting back. I was ill for the last couple days. > > Here is a quick status update, > > * Setup my work environment. Earlier I was using RTEMS version 4.11 > because I could not download

Re: GSOC2016: Improvements in RTEMS Tracing Framework

2016-05-10 Thread vivek kukreja
Hello Chris, Joel, Isaac, Sorry for the delay in getting back. I was ill for the last couple days. Here is a quick status update, * Setup my work environment. Earlier I was using RTEMS version 4.11 because I could not download the source code for 4.12 from GIT in my university network. I have no

GSOC2016: Improvements in RTEMS Tracing Framework

2016-04-28 Thread vivek kukreja
Hello all Thank you for your help and support. My proposal for Tracing tool improvements has been accepted in GSOC 2016. I will be occupied with university exams for the rest of this week. I will update the RTEMS page over the weekend. I will be able to commit full-time to the project in the comi