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

Issue 2531123002: Record MetricsService's execution phase to the stability file (Closed)

Created:
4 years ago by manzagop (departed)
Modified:
4 years ago
Reviewers:
bcwhite, rkaplow
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record MetricsService's execution phase to the stability file Also: - upstream some "ifdef(OS_WIN)" by moving stability_debugging_win.{h,cc} to stability_debugging.{h,cc}. - enclose components/browser_watcher/BUILD.gn targets in "if (is_win) {}" as the dependency from components/metrics started causing win only targets to be built on other platforms. BUG=620813 Committed: https://crrev.com/6d14991597586d547ba5f8cd2cd3ee4155606d32 Cr-Commit-Position: refs/heads/master@{#439536}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Total comments: 2

Patch Set 3 : Make some build targets win only #

Patch Set 4 : Merge #

Patch Set 5 : Merge #

Patch Set 6 : Revise the key #

Patch Set 7 : Missing dependency #

Patch Set 8 : Merge #

Patch Set 9 : Merge #

Patch Set 10 : fix issue with incorrect kStabilityExecutionPhase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -227 lines) Patch
M chrome/browser/chrome_browser_field_trials_desktop.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M components/browser_watcher/BUILD.gn View 1 2 3 4 5 2 chunks +105 lines, -101 lines 0 comments Download
M components/browser_watcher/stability_data_names.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/browser_watcher/stability_data_names.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A + components/browser_watcher/stability_debugging.h View 1 2 chunks +13 lines, -3 lines 0 comments Download
A + components/browser_watcher/stability_debugging.cc View 1 4 chunks +16 lines, -1 line 0 comments Download
M components/browser_watcher/stability_debugging_win.h View 1 1 chunk +0 lines, -31 lines 0 comments Download
M components/browser_watcher/stability_debugging_win.cc View 1 1 chunk +0 lines, -88 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M components/metrics/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/metrics_service.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 87 (54 generated)
manzagop (departed)
A first stab at using the new recording.
4 years ago (2016-11-30 19:47:47 UTC) #6
bcwhite
https://codereview.chromium.org/2531123002/diff/1/components/browser_watcher/stability_debugging_win.cc File components/browser_watcher/stability_debugging_win.cc (right): https://codereview.chromium.org/2531123002/diff/1/components/browser_watcher/stability_debugging_win.cc#newcode94 components/browser_watcher/stability_debugging_win.cc:94: base::debug::ActivityUserData& global_user_data = global_tracker->user_data(); Blank line above. https://codereview.chromium.org/2531123002/diff/1/components/browser_watcher/stability_debugging_win.cc#newcode95 components/browser_watcher/stability_debugging_win.cc:95: ...
4 years ago (2016-12-01 16:35:20 UTC) #7
manzagop (departed)
Thanks! Another look? https://codereview.chromium.org/2531123002/diff/1/components/browser_watcher/stability_debugging_win.cc File components/browser_watcher/stability_debugging_win.cc (right): https://codereview.chromium.org/2531123002/diff/1/components/browser_watcher/stability_debugging_win.cc#newcode94 components/browser_watcher/stability_debugging_win.cc:94: base::debug::ActivityUserData& global_user_data = global_tracker->user_data(); On 2016/12/01 ...
4 years ago (2016-12-05 15:44:05 UTC) #10
bcwhite
LGTM https://codereview.chromium.org/2531123002/diff/20001/components/browser_watcher/stability_debugging.cc File components/browser_watcher/stability_debugging.cc (right): https://codereview.chromium.org/2531123002/diff/20001/components/browser_watcher/stability_debugging.cc#newcode24 components/browser_watcher/stability_debugging.cc:24: bool GetCreationTime(const base::Process& process, base::Time* time) { Are ...
4 years ago (2016-12-05 17:20:57 UTC) #14
manzagop (departed)
Any clue why the bots are failing? I'm not understanding why the code it's trying ...
4 years ago (2016-12-06 20:35:08 UTC) #15
manzagop (departed)
On 2016/12/06 20:35:08, manzagop wrote: > Any clue why the bots are failing? I'm not ...
4 years ago (2016-12-08 14:16:09 UTC) #16
Dirk Pranke
GN learns about targets by starting with a root file (//BUILD.gn) and recursively pulling files ...
4 years ago (2016-12-08 21:48:54 UTC) #21
manzagop (departed)
That makes total sense! TIL. Thanks Dirk!
4 years ago (2016-12-08 23:07:45 UTC) #22
manzagop (departed)
Hi Rob! Could you have an OWNERS' look for the following files? chrome\browser\chrome_browser_field_trials_desktop.cc chrome\browser\metrics\chrome_metrics_service_client.cc components\metrics\BUILD.gn ...
4 years ago (2016-12-09 21:52:50 UTC) #24
rkaplow
lgtm
4 years ago (2016-12-12 19:23:00 UTC) #34
manzagop (departed)
Thanks!
4 years ago (2016-12-12 20:39:14 UTC) #35
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/2531123002/120001
4 years ago (2016-12-12 20:40:26 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/197369)
4 years ago (2016-12-13 00:24:46 UTC) #40
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/2531123002/120001
4 years ago (2016-12-13 14:04:20 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/198139)
4 years ago (2016-12-13 15:39:30 UTC) #44
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/2531123002/120001
4 years ago (2016-12-13 15:49:57 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/198181)
4 years ago (2016-12-13 17:48:44 UTC) #48
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/2531123002/120001
4 years ago (2016-12-13 19:08:00 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/198399)
4 years ago (2016-12-13 21:22:27 UTC) #52
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/2531123002/140001
4 years ago (2016-12-13 21:37:38 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/198550)
4 years ago (2016-12-13 23:48:43 UTC) #58
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/2531123002/140001
4 years ago (2016-12-14 20:10:31 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/199286)
4 years ago (2016-12-14 22:04:21 UTC) #62
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/2531123002/140001
4 years ago (2016-12-16 16:15:16 UTC) #64
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/200834)
4 years ago (2016-12-16 18:13:39 UTC) #66
manzagop (departed)
I'm not sure why this is failing.
4 years ago (2016-12-16 19:06:47 UTC) #67
bcwhite
On 2016/12/16 19:06:47, manzagop wrote: > I'm not sure why this is failing. E 59.884s ...
4 years ago (2016-12-16 20:27:24 UTC) #68
manzagop (departed)
On 2016/12/16 20:27:24, bcwhite wrote: > On 2016/12/16 19:06:47, manzagop wrote: > > I'm not ...
4 years ago (2016-12-16 20:40:53 UTC) #69
manzagop (departed)
On 2016/12/16 20:27:24, bcwhite wrote: > On 2016/12/16 19:06:47, manzagop wrote: > > I'm not ...
4 years ago (2016-12-16 20:41:00 UTC) #70
manzagop (departed)
Yikes, it seems there was an actual issue. I don't think the logs contained the ...
4 years ago (2016-12-19 20:10:29 UTC) #79
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/2531123002/180001
4 years ago (2016-12-19 20:11:14 UTC) #82
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years ago (2016-12-19 20:17:47 UTC) #85
commit-bot: I haz the power
4 years ago (2016-12-19 20:21:40 UTC) #87
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6d14991597586d547ba5f8cd2cd3ee4155606d32
Cr-Commit-Position: refs/heads/master@{#439536}

Powered by Google App Engine
This is Rietveld 408576698