[PATCH 0/2] covoar: Dispose of file info in ExecutableInfo
alex.white at oarcorp.com
Fri Apr 9 16:13:27 UTC 2021
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(-)
More information about the devel