Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Issue 2948283002: Profiling process topology (Closed)

Created:
3 years, 6 months ago by brettw
Modified:
3 years, 5 months ago
Reviewers:
awong
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Profiling process topology. Changes the --memlog command line switch to launch the browser, which then in turn launches the profiling process as a child (previously it was the reverse). Creates a ProfilingProcessHost in the browser process and hooks it up as necessary. This code is still a work in progress and doesn't necessarily run properly. The system still uses Windows named pipes and requires --no-sandbox. Review-Url: https://codereview.chromium.org/2948283002 Cr-Commit-Position: refs/heads/master@{#483482} Committed: https://chromium.googlesource.com/chromium/src/+/8d903369ede3f897ab94cb0219ec125cfed88c7d

Patch Set 1 #

Patch Set 2 : Work #

Patch Set 3 : Improvements #

Total comments: 11

Patch Set 4 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -85 lines) Patch
M chrome/app/chrome_main.cc View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/profiling_host/BUILD.gn View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/profiling_host/README.md View 1 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/profiling_host/profiling_process_host.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/profiling_host/profiling_process_host.cc View 1 2 3 1 chunk +92 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/profiling/memlog_sender.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/profiling/memlog_sender.cc View 1 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/profiling/memlog_stream_parser.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/profiling/memlog_stream_receiver.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/profiling/profiling_main.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/profiling/profiling_main.cc View 1 3 chunks +1 line, -75 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
brettw
No idea
3 years, 5 months ago (2017-06-29 18:08:09 UTC) #5
brettw
3 years, 5 months ago (2017-06-29 18:09:31 UTC) #8
awong
On 2017/06/29 18:09:31, brettw wrote: First comment: Can you fix the CL description to be ...
3 years, 5 months ago (2017-06-29 18:13:17 UTC) #10
brettw
On 2017/06/29 18:13:17, awong wrote: > On 2017/06/29 18:09:31, brettw wrote: > > First comment: ...
3 years, 5 months ago (2017-06-29 18:18:59 UTC) #12
awong
LGTM with documentation nits. https://codereview.chromium.org/2948283002/diff/40001/chrome/browser/profiling_host/profiling_process_host.cc File chrome/browser/profiling_host/profiling_process_host.cc (right): https://codereview.chromium.org/2948283002/diff/40001/chrome/browser/profiling_host/profiling_process_host.cc#newcode20 chrome/browser/profiling_host/profiling_process_host.cc:20: ProfilingProcessHost* pph_singleton = nullptr; prefix ...
3 years, 5 months ago (2017-06-29 18:39:32 UTC) #13
brettw
https://codereview.chromium.org/2948283002/diff/40001/chrome/browser/profiling_host/profiling_process_host.cc File chrome/browser/profiling_host/profiling_process_host.cc (right): https://codereview.chromium.org/2948283002/diff/40001/chrome/browser/profiling_host/profiling_process_host.cc#newcode20 chrome/browser/profiling_host/profiling_process_host.cc:20: ProfilingProcessHost* pph_singleton = nullptr; On 2017/06/29 18:39:31, awong wrote: ...
3 years, 5 months ago (2017-06-29 19:31:12 UTC) #14
brettw
Review comments
3 years, 5 months ago (2017-06-29 19:32:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2948283002/80001
3 years, 5 months ago (2017-06-29 19:33:01 UTC) #18
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 20:56:20 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/8d903369ede3f897ab94cb0219ec...

Powered by Google App Engine
This is Rietveld 408576698