Re: get_heap_info memsets stats element

2022-04-15 Thread Matthew J Fletcher
Hi Joel > Would be good to have a comment here explaining that. Patch welcome. :_ I think i probably owe you a patch, given i've been using RTEMS (on-off) now for 20 years, at least back to https://lists.rtems.org/pipermail/users/2001-November/037648.html m68k targets, RedHat 5 build machines wi

Re: get_heap_info memsets stats element

2022-04-13 Thread Joel Sherrill
On Wed, Apr 13, 2022 at 8:32 AM Matthew J Fletcher wrote: > Hi, > > _Heap_Get_information provides the information but its then memset after > retrieval, is this a bug or design ? > > _Heap_Get_information(heap, info); > memset(&info->Stats, 0, sizeof(info->Stats)); > In this case, this call