On 01/07/2019 13:28, Ravindra Kumar Meena wrote:
Have made changes for task writing the events of a processor (CPU) to the corresponding file.

https://github.com/rmeena840/rtems-tools/commit/111ee2f3f92a0371241d31542d28687431d18097

This cannot work. If you write into N files, then you have to open N files.

Please use:

  FILE *event_streams[RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT];

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