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.

Regards,
Vivek

> On 28-May-2016, at 04:11, Chris Johns  wrote:
> 
>> 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_support.c file. Im trying to debug the capture engine code. Does 
>> anyone how to resolve this?
> 
> Do you know what the call is?
> 
> Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


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_capture_print_trace_records function) 
calls rtems_capture_read to read records from cpu buffers which returns 
RTEMS_UNSATISFIED.


Why does that function return that status code?

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel