On 06/08/2019 13:41, Ravindra Kumar Meena wrote:
     > Done
     >
    
https://github.com/rmeena840/rtems-tools/commit/8ceb3ccb97422044fb30b3c562fc736cf0686d48


    Ok, good. Now please use this table to populate the thread names in the
    sched_switch event.


Do we have to populate it at the end of the file when print_item() has done its job? And this table is not CPU specific so I am not sure in which CPU file should I populate it?

No, when you emit a sched_switch event in print_item() you replace the

snprintf( item_data_str, sizeof( item_data_str ), "%08"PRIx64,

with a memcpy() from the corresponding thread_names entry.

--
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.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to