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

Issue 196009: Linux: set the process title (that shows in "ps" etc.) of renderers correctly when using the zygote. (Closed)

Created:
11 years, 3 months ago by Mike Mammarella
Modified:
9 years, 7 months ago
Reviewers:
agl, dank
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google)
Visibility:
Public.

Description

Linux: set the process title (that shows in "ps" etc.) of renderers correctly when using the zygote. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25877

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -12 lines) Patch
M base/base.gyp View 4 5 6 3 chunks +13 lines, -3 lines 0 comments Download
M base/command_line.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M base/command_line.cc View 1 2 3 4 5 3 chunks +31 lines, -0 lines 0 comments Download
A base/setproctitle_linux.h View 1 chunk +25 lines, -0 lines 0 comments Download
A base/setproctitle_linux.c View 1 chunk +112 lines, -0 lines 0 comments Download
M chrome/app/chrome_dll_main.cc View 2 3 4 5 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/zygote_main_linux.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mike Mammarella
11 years, 3 months ago (2009-09-03 21:15:50 UTC) #1
dank
LGTM but you might want to run it by agl.
11 years, 3 months ago (2009-09-04 04:24:44 UTC) #2
dank
Also you might want to do the BSD port straight off since they have a ...
11 years, 3 months ago (2009-09-04 04:25:07 UTC) #3
agl
I don't think this patch should land. The minimal benefit does not justify it. If, ...
11 years, 3 months ago (2009-09-04 17:27:05 UTC) #4
Mike Mammarella
I've been asked several times by various people how to tell which chrome processes are ...
11 years, 3 months ago (2009-09-09 19:45:56 UTC) #5
agl
We have Shift+Esc and about:memory, I still don't see that we want this patch. However, ...
11 years, 3 months ago (2009-09-09 22:14:32 UTC) #6
not_the_right_dank
11 years, 3 months ago (2009-09-09 22:21:40 UTC) #7
I think it's worth it, there will be lots of people using ps and top
in spite of our memory tools.

On Wed, Sep 9, 2009 at 3:14 PM, <agl@chromium.org> wrote:
>
> We have Shift+Esc and about:memory, I still don't see that we want this
> patch.
> However, in current form, it's ok to land if you want to.
>
>
> http://codereview.chromium.org/196009/diff/7004/7008
> File base/setproctitle.c (right):
>
> http://codereview.chromium.org/196009/diff/7004/7008#newcode48
> Line 48: static char** main_argv_ = NULL;
> globals are usually named with g_
>
> http://codereview.chromium.org/196009
>

Powered by Google App Engine
This is Rietveld 408576698