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

Issue 2666653002: Record field-trial information in stability file for crash analysis. (Closed)

Created:
3 years, 10 months ago by bcwhite
Modified:
3 years, 10 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record field-trial information in stability file for crash analysis. BUG=620813 Review-Url: https://codereview.chromium.org/2666653002 Cr-Commit-Position: refs/heads/master@{#449013} Committed: https://chromium.googlesource.com/chromium/src/+/33d92f4ec79c19ddc925b1a96adad8e4edbd8010

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : use observer for field trial changes #

Patch Set 4 : record field trial info directly instead of via posted task #

Total comments: 4

Patch Set 5 : addressed review comments by manzagop #

Total comments: 11

Patch Set 6 : addressed review comments by asvitkine #

Total comments: 6

Patch Set 7 : rebased #

Total comments: 2

Patch Set 8 : use GetActiveFieldTrialGroups instead of caching them locally #

Total comments: 4

Patch Set 9 : use c++ loop format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -15 lines) Patch
M base/debug/activity_analyzer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M base/debug/activity_tracker.h View 1 2 3 4 5 6 7 8 chunks +34 lines, -6 lines 0 comments Download
M base/debug/activity_tracker.cc View 1 2 3 4 5 6 7 8 6 chunks +29 lines, -5 lines 0 comments Download
M base/metrics/field_trial.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_field_trials_desktop.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M components/browser_watcher/postmortem_report_collector_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/browser_watcher/stability_debugging.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 93 (65 generated)
bcwhite
3 years, 10 months ago (2017-01-30 19:23:20 UTC) #6
manzagop (departed)
I want to make sure my understanding of Field trials is accurate. IIUC: - at ...
3 years, 10 months ago (2017-01-30 22:09:40 UTC) #11
chromium-reviews
> > IIUC: > - at startup it is already possible to know your full ...
3 years, 10 months ago (2017-01-31 13:24:36 UTC) #12
manzagop (departed)
(+Alexei to make sure we get this right) IIUC: >> - at startup it is ...
3 years, 10 months ago (2017-01-31 16:21:19 UTC) #26
Alexei Svitkine (slow)
The 'activated' field should indeed be up to date. It's true that the data can ...
3 years, 10 months ago (2017-01-31 16:32:06 UTC) #27
manzagop (departed)
Right we want to have the complete up to date picture, as we hope this ...
3 years, 10 months ago (2017-01-31 16:45:23 UTC) #28
Alexei Svitkine (slow)
There's a difference. Crash reports include activated. On Jan 31, 2017 8:45 AM, "Pierre-Antoine Manzagol" ...
3 years, 10 months ago (2017-01-31 16:49:58 UTC) #29
bcwhite
It's true that only a single snapshot of the metrics information is captured and stored. ...
3 years, 10 months ago (2017-01-31 18:36:24 UTC) #30
manzagop (departed)
On 2017/01/31 18:36:24, bcwhite wrote: > It's true that only a single snapshot of the ...
3 years, 10 months ago (2017-01-31 22:28:03 UTC) #31
bcwhite
Implemented as discussed. All field-trial activations are recorded in global_data along with the active group ...
3 years, 10 months ago (2017-02-03 16:11:23 UTC) #36
manzagop (departed)
I've investigated how experiments are recorded to crash keys and I think Siggi's concern is ...
3 years, 10 months ago (2017-02-03 16:57:00 UTC) #45
Sigurður Ásgeirsson
Yups, we want immediate recording, not re-posting. On Fri, Feb 3, 2017 at 8:57 AM ...
3 years, 10 months ago (2017-02-03 18:48:53 UTC) #51
bcwhite
On 2017/02/03 16:57:00, manzagop wrote: > I've investigated how experiments are recorded to crash keys ...
3 years, 10 months ago (2017-02-03 18:49:06 UTC) #52
manzagop (departed)
Thanks, this is great! lgtm % question about GlobalUserData We need to keep in mind ...
3 years, 10 months ago (2017-02-03 19:01:49 UTC) #53
bcwhite
https://codereview.chromium.org/2666653002/diff/150001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/150001/base/debug/activity_tracker.cc#newcode1291 base/debug/activity_tracker.cc:1291: // Destruction of the object will disable tracking. On ...
3 years, 10 months ago (2017-02-03 19:07:04 UTC) #55
bcwhite
asvitkine@chromium.org: Please review changes in base/metrics/field_trial.cc chrome/browser/chrome_browser_field_trials_desktop.cc
3 years, 10 months ago (2017-02-03 19:08:04 UTC) #58
Alexei Svitkine (slow)
https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc#newcode75 base/debug/activity_tracker.cc:75: void Disable() { What prevents this being called after ...
3 years, 10 months ago (2017-02-06 17:46:12 UTC) #61
manzagop (departed)
https://codereview.chromium.org/2666653002/diff/170001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/2666653002/diff/170001/base/metrics/field_trial.cc#newcode987 base/metrics/field_trial.cc:987: // to an observer may not get executed before ...
3 years, 10 months ago (2017-02-06 18:38:17 UTC) #62
Alexei Svitkine (slow)
I think it's inefficient, yes, but it's still all just computation stuff that doesn't involve ...
3 years, 10 months ago (2017-02-06 19:45:56 UTC) #63
bcwhite
https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc#newcode75 base/debug/activity_tracker.cc:75: void Disable() { On 2017/02/06 17:46:12, Alexei Svitkine (slow) ...
3 years, 10 months ago (2017-02-07 15:58:59 UTC) #66
Alexei Svitkine (slow)
https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc#newcode75 base/debug/activity_tracker.cc:75: void Disable() { On 2017/02/07 15:58:58, bcwhite wrote: > ...
3 years, 10 months ago (2017-02-07 16:14:07 UTC) #67
bcwhite
https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/170001/base/debug/activity_tracker.cc#newcode75 base/debug/activity_tracker.cc:75: void Disable() { On 2017/02/07 16:14:06, Alexei Svitkine (slow) ...
3 years, 10 months ago (2017-02-07 17:39:31 UTC) #72
Alexei Svitkine (slow)
https://codereview.chromium.org/2666653002/diff/210001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/210001/base/debug/activity_tracker.cc#newcode82 base/debug/activity_tracker.cc:82: void DumpCollectedActivity() { Thinking about this more, I think ...
3 years, 10 months ago (2017-02-07 19:28:10 UTC) #75
bcwhite
https://codereview.chromium.org/2666653002/diff/210001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/210001/base/debug/activity_tracker.cc#newcode82 base/debug/activity_tracker.cc:82: void DumpCollectedActivity() { On 2017/02/07 19:28:10, Alexei Svitkine (slow) ...
3 years, 10 months ago (2017-02-07 21:18:03 UTC) #81
Alexei Svitkine (slow)
lgtm % comment https://codereview.chromium.org/2666653002/diff/250001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/250001/base/debug/activity_tracker.cc#newcode1277 base/debug/activity_tracker.cc:1277: for (size_t i = 0; i ...
3 years, 10 months ago (2017-02-07 21:23:52 UTC) #82
bcwhite
https://codereview.chromium.org/2666653002/diff/250001/base/debug/activity_tracker.cc File base/debug/activity_tracker.cc (right): https://codereview.chromium.org/2666653002/diff/250001/base/debug/activity_tracker.cc#newcode1277 base/debug/activity_tracker.cc:1277: for (size_t i = 0; i < active_groups.size(); ++i) ...
3 years, 10 months ago (2017-02-07 22:09:02 UTC) #84
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/2666653002/270001
3 years, 10 months ago (2017-02-08 16:36:40 UTC) #90
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 16:44:02 UTC) #93
Message was sent while issue was closed.
Committed patchset #9 (id:270001) as
https://chromium.googlesource.com/chromium/src/+/33d92f4ec79c19ddc925b1a96ada...

Powered by Google App Engine
This is Rietveld 408576698