commit | 4b7834e075855a49d9369c04ee63927650c50092 | [log] [tgz] |
---|---|---|
author | ssid <ssid@chromium.org> | Mon Jul 19 06:28:54 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 19 06:28:54 2021 |
tree | b0be0febb159f04825cecaa7264ddf40ff61197f | |
parent | cd2cacc0bf7675c2a66c00978797c0723c2e3696 [diff] |
Add an option to write native heap profiles to trace protos The heap profile format is same as the sampling profiler. The heap profiler reuses code from sampling profiler to write heap profiles. Adds a proto exporter for heap profiler. The heap profiler writes JSON profiles to traces currently. If the new command line param is passed, the proto exporter will additionally add heap profile as protos to traces. So, in this case it will write the profiles to traces in both format. In the future changes the heap profiler will stop writing JSON. BUG=1228548 Change-Id: I9929c20479229c9f14e39f1841d4e0adb50160b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018727 Reviewed-by: Chris Palmer <palmer@chromium.org> Reviewed-by: Erik Chen <erikchen@chromium.org> Reviewed-by: Eric Seckler <eseckler@chromium.org> Commit-Queue: ssid <ssid@chromium.org> Cr-Commit-Position: refs/heads/master@{#902872}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.