GSoC Project | Basic Support for Trace Compass

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 25 18:32:26 UTC 2019


----- Am 25. Jun 2019 um 19:32 schrieb Ravindra Kumar Meena rmeena840 at gmail.com:

> Hi Sebastian,
> 
> I have resolved the issue I was facing with rtems_record_event variable. I
> have sent the two patches. One is for stream file generation and another
> one is for metadata file for the same. Please apply the patches.
> 
> Now, babeltrace is able to read the stream file. I have cross-checked the
> value. All are correct.

No, it is definitely not correct.

> 
> The output should look like this:
> 
> 0 RTEMS_RECORDING_EVENT: { ns = 4290192310274097152, cpu = 0, events = (

The ns value here cannot be correct if it is generated by this code:

ctf_item.ns = ( uint32_t ) ( item->ns % 1000000000 );

> "RTEMS_RECORD_THREAD_STACK_CURRENT" : container = 209 ), data = 32440 }
> 0 RTEMS_RECORDING_EVENT: { ns = 4290192310274097152, cpu = 0, events = (
> "RTEMS_RECORD_THREAD_SWITCH_IN" : container = 215 ), data = 167837711 }
> 
> I am happy to say this completes phase 1 of my GSoC project. :) :)

You made good progress this week.

Please remember to add the raw input data as a file and the --input=<FILE> command line option. This should be doable within one day.



More information about the devel mailing list