This patch set includes two patches that significantly lower the memory
usage of covoar. For a full coverage run of the leon3 BSP on my
machine, the peak memory usage falls from 9.6 GB down to 3.3 GB.

The cleanup of the ELF and DWARF info had previously been moved from
the ExecutableInfo class's constructor to its destructor. This was done
to ensure that ExecutableInfo::getSourceAndLine() could utilize the
DWARF info. A side effect of that change was increased memory usage.

These patches ensure that only the ELF and DWARF info that is needed
later in covoar's execution is stored in the ExecutableInfo class.

Alex White (2):
  covoar: Store only the file name in ExecutableInfo
  covoar: Prevent source file name cleanup in DWARF

 rtemstoolkit/rld-dwarf.cpp      | 41 +++++++++++++++++----------------
 rtemstoolkit/rld-dwarf.h        |  8 +++----
 tester/covoar/ExecutableInfo.cc | 17 +++++---------
 tester/covoar/ExecutableInfo.h  | 10 ++++----
 4 files changed, 36 insertions(+), 40 deletions(-)

-- 
2.27.0

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to