[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
Review URL: https://codereview.chromium.org/1191893002
Cr-Commit-Position: refs/heads/master@{#334812}
CrOS-Libchrome-Original-Commit: db8a28cf1603950a2dedda3329d01285a3e317cd
1 file changed