GSoC Project | Basic Support for Trace Compass

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jul 23 11:00:54 UTC 2019


On 23/07/2019 12:34, Ravindra Kumar Meena wrote:
>     All your state must be per-CPU otherwise you mix data from different
>     CPUs.
> 
> Have made changes.
> 
> https://github.com/rmeena840/rtems-tools/commit/fac873672d5cd8fe3605ea7ac817ebaa4e8e4cdc

This makes no sense:

static void print_item( client_context *cctx, const client_item *item )
{
   if( cctx->event_counter % 2 == 0 ){

1. event_counter is not per CPU.

2. You don't care about the record event. You have to do this for 
specific events as I already wrote in the description of this task.

-- 
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