GSoC Project | Basic Support for Trace Compass

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 31 05:41:42 UTC 2019


On 31/07/2019 07:30, Sebastian Huber wrote:
>>
>> Have added the prev_state in client-side:
>> https://github.com/rmeena840/rtems-tools/commit/43ae797ba3c6123cc51a6244a62912c999f69a1e 
>>
> 
> The bit field is documented in the manual. I would simplify this to:
> 
> cctx->switch_out_int[ item->cpu ].prev_state = ( ( ( item->data >> 24 ) 
> & 0x7 ) == 1 ) ? TASK_IDLE : TASK_RUNNING;

Did you check how the Trace Compass behaviour changed with this?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list