GSoC Project | Basic Support for Trace Compass

Sebastian Huber sebastian.huber at
Fri Aug 2 05:47:46 UTC 2019

On 02/08/2019 05:48, Ravindra Kumar Meena wrote:
> I have implemented the hash map for [thread_id]->[thread_name]. The hash 
> map stores the thread per cpu.

Why do you implement a hash map on your own? I would have renamed the 
record-main.c to and use std::map for example or 
something from boost.

The threads can execute on every CPU, so this information must not be 

What do you want to do with this line?

map_insert( cctx->map_per_cpu[ item->cpu ].hashArray, item->data, 
rtems_record_event_text( item->event ));

We need thread names, not the text of a record event.

To figure out how the thread names are sent from the target to your 
client you have to look at this patch:

If you don't understand this patch, then please ask.

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
PGP     : Public key available on request.

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

More information about the devel mailing list