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

Issue 2194943002: Add DVLOG with child process id in mojo shell. (Closed)

Created:
4 years, 4 months ago by kylechar
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add DVLOG with child process id in mojo shell. When running "./chrome --mash" most child processes no longer have the mojo application name as part of the command string. This makes it difficult to figure out what part of mus+ash LOG statements or CHECK failures come from. Add a DVLOG(0) that prints out the name and pid when a child process is successfully launched. Using verbosity level 0 since it is important information for debugging and should occur rarely. BUG=none Committed: https://crrev.com/97d674fed83626047e8cda9305c488a12a4ab3cf Cr-Commit-Position: refs/heads/master@{#408717}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Include name and user_id. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M services/shell/runner/host/child_process_host.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
kylechar
Not totally sure who to send this to but let me know what you think? ...
4 years, 4 months ago (2016-07-29 17:42:06 UTC) #2
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2194943002/diff/1/services/shell/runner/host/child_process_host.cc File services/shell/runner/host/child_process_host.cc (right): https://codereview.chromium.org/2194943002/diff/1/services/shell/runner/host/child_process_host.cc#newcode202 services/shell/runner/host/child_process_host.cc:202: DVLOG(0) << "Launched child process '" << target_.instance() ...
4 years, 4 months ago (2016-07-29 17:48:00 UTC) #3
kylechar
Thanks! https://codereview.chromium.org/2194943002/diff/1/services/shell/runner/host/child_process_host.cc File services/shell/runner/host/child_process_host.cc (right): https://codereview.chromium.org/2194943002/diff/1/services/shell/runner/host/child_process_host.cc#newcode202 services/shell/runner/host/child_process_host.cc:202: DVLOG(0) << "Launched child process '" << target_.instance() ...
4 years, 4 months ago (2016-07-29 17:59:34 UTC) #4
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/2194943002/20001
4 years, 4 months ago (2016-07-29 18:17:47 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-29 19:21:59 UTC) #8
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 19:25:29 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/97d674fed83626047e8cda9305c488a12a4ab3cf
Cr-Commit-Position: refs/heads/master@{#408717}

Powered by Google App Engine
This is Rietveld 408576698