Description[tracing] Fix malloc accounting in memory-infra
Currently the malloc dump provider is reporting the total virtual
size as official "size" (the one plotted in the tracks) and the
allocated_objects as a child.
This is not fully correct, as the heap is not always necessarily
used and, more importantly, creates some funky behavior when
discounting the trace overehad.
This change moves the outer heap size to its own property, so that
the actual |uordblocks| becomes the size plotted on the track.
BUG=495628, 467112
Committed: https://crrev.com/db8a28cf1603950a2dedda3329d01285a3e317cd
Cr-Commit-Position: refs/heads/master@{#334812}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|