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

Issue 8588023: Collect profiler stats from browser child processes. (Closed)

Created:
9 years, 1 month ago by ramant (doing other things)
Modified:
9 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, jam, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Collect profiler stats from all browser child processes. R=jam Bug=104770 TEST=about:profiler after lauching a plug-in or GPU should show tracking data for plugin-gpu processes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112571

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 18

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Patch Set 23 : '' #

Total comments: 57

Patch Set 24 : '' #

Patch Set 25 : '' #

Patch Set 26 : '' #

Patch Set 27 : '' #

Total comments: 20

Patch Set 28 : '' #

Patch Set 29 : '' #

Patch Set 30 : '' #

Patch Set 31 : '' #

Patch Set 32 : '' #

Patch Set 33 : '' #

Patch Set 34 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+667 lines, -401 lines) Patch
M chrome/browser/metrics/tracking_synchronizer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 4 chunks +45 lines, -95 lines 0 comments Download
M chrome/browser/metrics/tracking_synchronizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 7 chunks +184 lines, -155 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +0 lines, -18 lines 0 comments Download
M chrome/browser/ui/webui/profiler_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/tracking_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +0 lines, -18 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +0 lines, -3 lines 0 comments Download
D chrome/renderer/renderer_tracking.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +0 lines, -40 lines 0 comments Download
M chrome/renderer/renderer_tracking.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +0 lines, -62 lines 0 comments Download
M content/browser/browser_child_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +2 lines, -0 lines 0 comments Download
A content/browser/profiler_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +56 lines, -0 lines 0 comments Download
A content/browser/profiler_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +149 lines, -0 lines 0 comments Download
A content/browser/profiler_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +38 lines, -0 lines 0 comments Download
A content/browser/profiler_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +46 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 4 chunks +6 lines, -0 lines 0 comments Download
M content/common/child_process_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +16 lines, -0 lines 0 comments Download
M content/common/child_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/child_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +24 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +6 lines, -0 lines 0 comments Download
A content/public/browser/profiler_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +53 lines, -0 lines 0 comments Download
A content/public/browser/profiler_subscriber.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jam
(didn't look at tracking_synchronizer.cc closely) http://codereview.chromium.org/8588023/diff/3024/chrome/browser/metrics/tracking_synchronizer.cc File chrome/browser/metrics/tracking_synchronizer.cc (right): http://codereview.chromium.org/8588023/diff/3024/chrome/browser/metrics/tracking_synchronizer.cc#newcode227 chrome/browser/metrics/tracking_synchronizer.cc:227: // Default constr references ...
9 years, 1 month ago (2011-11-19 23:36:25 UTC) #1
ramant (doing other things)
Hi Jim, John Abd-El-Malek, Made all the changes jam has suggested. Deleted some of the ...
9 years ago (2011-11-25 23:59:48 UTC) #2
jam
http://codereview.chromium.org/8588023/diff/61009/chrome/browser/metrics/tracking_synchronizer.h File chrome/browser/metrics/tracking_synchronizer.h (right): http://codereview.chromium.org/8588023/diff/61009/chrome/browser/metrics/tracking_synchronizer.h#newcode132 chrome/browser/metrics/tracking_synchronizer.h:132: class RequestContext { is this class used by other ...
9 years ago (2011-11-28 15:17:34 UTC) #3
jam
http://codereview.chromium.org/8588023/diff/61009/chrome/browser/metrics/tracking_synchronizer.cc File chrome/browser/metrics/tracking_synchronizer.cc (right): http://codereview.chromium.org/8588023/diff/61009/chrome/browser/metrics/tracking_synchronizer.cc#newcode224 chrome/browser/metrics/tracking_synchronizer.cc:224: if (processes_pending_ <= 0 && process_group_count_ <= 0) { ...
9 years ago (2011-11-28 18:48:16 UTC) #4
ramant (doing other things)
Hi John Abd-El-Malek, Many many thanks for the thorough/awesome code review. Would appreciate if you ...
9 years ago (2011-11-29 01:32:20 UTC) #5
jam
http://codereview.chromium.org/8588023/diff/61009/content/public/browser/profiler_synchronizer.h File content/public/browser/profiler_synchronizer.h (right): http://codereview.chromium.org/8588023/diff/61009/content/public/browser/profiler_synchronizer.h#newcode16 content/public/browser/profiler_synchronizer.h:16: CONTENT_EXPORT int GetProfilerData(int sequence_number); On 2011/11/29 01:32:20, ramant wrote: ...
9 years ago (2011-11-30 00:22:25 UTC) #6
ramant (doing other things)
Hi John Abd-El-Malek, Many many thanks for your comments. Made all the changes you had ...
9 years ago (2011-11-30 19:37:21 UTC) #7
jam
lgtm with switching back to base::Unretained, sorry about missing that earlier http://codereview.chromium.org/8588023/diff/65035/content/browser/profiler_controller_impl.cc File content/browser/profiler_controller_impl.cc (right): ...
9 years ago (2011-12-01 03:43:16 UTC) #8
ramant (doing other things)
Hi John Abd-El-Malek, Used base::Unretained and reverted the weak_ptr changes. Integrated with the latest changes ...
9 years ago (2011-12-01 21:33:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/8588023/85005
9 years ago (2011-12-01 21:58:31 UTC) #10
commit-bot: I haz the power
9 years ago (2011-12-01 23:20:23 UTC) #11
Change committed as 112571

Powered by Google App Engine
This is Rietveld 408576698