The heaptrack v1.3.0 release is packed with quite some important new features. Most importantly, it is now possible to filter by time ranges. To do so, simply select a time range in one of the plots and right click to filter by time. Once analysis is done afterwards, you will see the delta between the two time points, which is a very useful addition to the heap memory analysis workflow.
Additionally, heaptrack finally supports custom suppression files, including support for per-application embedded default suppression lists. This can be achieved by the same API that is already used by LSAN, namely
__lsan_default_suppressions, see also https://github.com/llvm/llvm-project/blob/main/compiler-rt/include/sanitizer/lsan_interface.h. Work on this great new feature was sponsored by NetworkRADIUS, many thanks!
Finally, heaptrack v1.3.0 comes with a slew of important bug fixes and general maintenance improvements, including better FreeBSD support and faster analysis processing.
Fixed bug reports in this release:
- https://bugs.kde.org/441125: Fails to build on CentOS 7.0
- https://bugs.kde.org/441132: Crash when filtering on a time range
- https://bugs.kde.org/439897: Heaptrack produces impossible/incorrect stack traces
- https://bugs.kde.org/408547: ERROR: failed to lock heaptrack output file
- https://bugs.kde.org/394520: Attaching to running process generates empty file
- https://bugs.kde.org/439307: heaptrack launch script help text shows wrong option name for --output-file
- https://bugs.kde.org/435195: Can the output file take hostname into account?
- https://bugs.kde.org/427970: Heaptrack GUI crash when opening a zst file
A full log of commits that went into this release can be found here: https://invent.kde.org/sdk/heaptrack/-/commits/v1.3.0