I'm using heaptrack_print to create flamegraphs. What I need is to see all allocations that are active (non-freed) at the time of peak memory usage. This way I can see what is contributing to the memory usage of my application and thus try to improve it. At the moment I see total number of allocations per call-path for the whole run of my application.
Git commit fc6c6be2d8803d194d31fddb326cae54018aa54e by Milian Wolff. Committed on 21/03/2018 at 16:47. Pushed by mwolff into branch 'master'. Add --flamegraph-cost-type to heaptrack_print This allows specifying the cost type to print when generating the flamegraph. All available cost types can be used, i.e.: - allocations (still the default) - temporary - allocated - leaked - peak M +55 -1 src/analyze/print/heaptrack_print.cpp https://commits.kde.org/heaptrack/fc6c6be2d8803d194d31fddb326cae54018aa54e