ToT: 763dc3cb872af70b9bfa8fd218b77e963c4907d3
To repro, build from the following ToT and patch in memlog.diff. I used macOS, but this should work on all OSes.
Taking a trace using chrome://tracing. Notice that there are two "detailed" dumps. The first has all the MDP information, the second has just a memlog heap dump, including the field shim_allocated_objects*
Now uncomment the line: "// guid = args.dump_guid;". This causes the memlog heap dump to have the same guid as the original dump.
Take a trace using chrome://tracing. Now, there is a single "detailed" dump, and the allocations show up correctly, but the shim_allocated_objects* fields disappear.
More relevant, when running telemetry benchmarks, e.g.
"""
./tools/perf/run_benchmark --browser=exact --browser-executable=./out/gn/Chromium.app/Contents/MacOS/Chromium --extra-browser-args="--memlog=browser" system_health.memory_desktop --story-filter='load:search:amazon' --pageset-repeat=1 --output-format=json --output-format=html
"""
Running with ToT correctly extracts the shim_allocated_objects_size field, but forcing the dumps to merge with the same guid causes the field to not be extracted.
|
Deleted:
memlog.diff
2.7 KB
|
Comment 1 by erikc...@chromium.org
, Sep 8 2017