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

Issue 163433011: Clarify the process title of GPU broker process. (Closed)

Created:
6 years, 10 months ago by dshwang
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jln+watch_chromium.org
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Clarify the process title of GPU broker process. Currently, GPU broker process has the same process title to GPU process. To distinguish GPU broker process, this CL updates the process title as follows: "exec --type=gpu-broker". In addition, callback name in BrokerProcess::Init() is change to broker_process_init_callback in order to clarify the broker process calls it. In addition, use base::Callback instead of function pointer. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252781

Patch Set 1 #

Total comments: 6

Patch Set 2 : Improve naming. Use base::Bind. #

Patch Set 3 : Build fix for unittests #

Total comments: 14

Patch Set 4 : Address a few more nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -32 lines) Patch
M content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc View 1 2 3 3 chunks +7 lines, -8 lines 0 comments Download
M content/common/sandbox_linux/bpf_gpu_policy_linux.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M content/common/sandbox_linux/bpf_gpu_policy_linux.cc View 1 2 3 6 chunks +28 lines, -7 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M sandbox/linux/services/broker_process.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M sandbox/linux/services/broker_process.cc View 1 2 3 3 chunks +4 lines, -5 lines 0 comments Download
M sandbox/linux/services/broker_process_unittest.cc View 1 2 3 9 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dshwang
I refer to how zygote changes process title in Zygote::ReadArgsAndFork() All process type switches are ...
6 years, 10 months ago (2014-02-14 18:55:56 UTC) #1
dshwang
6 years, 10 months ago (2014-02-19 10:43:31 UTC) #2
jln (very slow on Chromium)
This looks mostly ok, but let's re-write BrokerProcess::Init() to make it clear that the callback ...
6 years, 10 months ago (2014-02-20 00:29:57 UTC) #3
Jorge Lucangeli Obes
Apologies for the delay. https://codereview.chromium.org/163433011/diff/1/content/common/sandbox_linux/bpf_gpu_policy_linux.cc File content/common/sandbox_linux/bpf_gpu_policy_linux.cc (right): https://codereview.chromium.org/163433011/diff/1/content/common/sandbox_linux/bpf_gpu_policy_linux.cc#newcode149 content/common/sandbox_linux/bpf_gpu_policy_linux.cc:149: // SetProcessTitleFromCommandLine in content_main_runner.cc, so ...
6 years, 10 months ago (2014-02-20 00:33:05 UTC) #4
dshwang
Thank you for review. I addressed your all suggestions. Could you review again? https://codereview.chromium.org/163433011/diff/1/content/common/sandbox_linux/bpf_gpu_policy_linux.cc File ...
6 years, 10 months ago (2014-02-20 20:36:30 UTC) #5
jln (very slow on Chromium)
A few more nits. In particular let's rename things a bit to make it clear ...
6 years, 10 months ago (2014-02-20 23:38:51 UTC) #6
dshwang
Thank you for kind review. I address all your comments. Could you review again? https://codereview.chromium.org/163433011/diff/160001/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc ...
6 years, 10 months ago (2014-02-21 07:03:13 UTC) #7
Jorge Lucangeli Obes
lgtm but wait for jln@ before landing.
6 years, 10 months ago (2014-02-21 15:58:30 UTC) #8
dshwang
On 2014/02/21 15:58:30, Jorge Lucangeli Obes wrote: > lgtm but wait for jln@ before landing. ...
6 years, 10 months ago (2014-02-21 16:37:24 UTC) #9
jln (very slow on Chromium)
lgtm, thanks!
6 years, 10 months ago (2014-02-21 21:58:12 UTC) #10
dshwang
On 2014/02/21 21:58:12, jln wrote: > lgtm, thanks! thank you for kind review!
6 years, 10 months ago (2014-02-22 00:30:38 UTC) #11
dshwang
The CQ bit was checked by dongseong.hwang@intel.com
6 years, 10 months ago (2014-02-22 00:30:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/163433011/290001
6 years, 10 months ago (2014-02-22 00:32:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/163433011/290001
6 years, 10 months ago (2014-02-22 01:33:12 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-02-22 08:26:31 UTC) #15
Message was sent while issue was closed.
Change committed as 252781

Powered by Google App Engine
This is Rietveld 408576698