| commit | 20c4f8045ec1dda374cb1d5a57be3c4ba4fe3211 | [log] [tgz] |
|---|---|---|
| author | Kevin Wang <wangpengqiang@bytedance.com> | Mon Aug 04 13:06:04 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 04 13:06:04 2025 |
| tree | b5c56871dc96acfd3a509729743c05514078f2b4 | |
| parent | 68828e4e1cebc330a7a45b0b602f898fcdd2a4f2 [diff] |
Fix all heap profiles aggregated into browser process for the memory-infra Firstly, Obtain heap profile using memory-infra, and find the heap profiles of all processes were merged into browser process. It is difficult to analyze the heap profile of the specified process. Secondly, Using TRACE_EVENT_API_ADD_TRACE_EVENT_WITH_PROCESS_ID to add trace event into json file, It contains the TRACE_EVENT_FLAG_HAS_PROCESS_ID flag, therefore the pid of heap profile should be written instead of browser pid. Author: Kevin Wang <wangpengqiang@bytedance.com> Bug: 434977624 Change-Id: Idf419dde743e64dced49c789c89df53e3183d07d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6801089 Reviewed-by: Mikhail Khokhlov <khokhlov@google.com> Reviewed-by: Peng Zhou <zhoupeng.1996@bytedance.com> Commit-Queue: Peng Zhou <zhoupeng.1996@bytedance.com> Cr-Commit-Position: refs/heads/main@{#1496278}
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.