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

Issue 2923523002: Decouple stability instrumentation recording and collection (Closed)

Created:
3 years, 6 months ago by manzagop (departed)
Modified:
3 years, 6 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Decouple stability instrumentation recording and collection Introduces an experiment parameter to control postmortem collection. Depending on the parameter's value, stability files are either collected or simply deleted. Additional details: - UncleanShutdownCount and UncleanSystemCount metrics are deprecated in favor of additional events in ActivityTracker.Collect.Status. This is more memory efficient. BUG=691595 Review-Url: https://codereview.chromium.org/2923523002 Cr-Commit-Position: refs/heads/master@{#477085} Committed: https://chromium.googlesource.com/chromium/src/+/194acde6446e88d5ac045e9768ef53aea4319def

Patch Set 1 #

Patch Set 2 : missing enums #

Patch Set 3 : PostmortemDeleter unittest #

Total comments: 10

Patch Set 4 : Address Siggi's comments #

Total comments: 1

Patch Set 5 : get rid of some braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -262 lines) Patch
M components/browser_watcher/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/browser_watcher/features.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/browser_watcher/features.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector.h View 1 2 3 4 chunks +19 lines, -24 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector.cc View 1 2 3 4 4 chunks +48 lines, -97 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector_unittest.cc View 1 2 3 17 chunks +107 lines, -116 lines 0 comments Download
M components/browser_watcher/stability_paths.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M components/browser_watcher/stability_paths.cc View 5 chunks +30 lines, -9 lines 0 comments Download
A components/browser_watcher/stability_paths_unittest.cc View 1 chunk +52 lines, -0 lines 0 comments Download
M components/browser_watcher/stability_report_extractor.h View 2 chunks +6 lines, -2 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win.cc View 3 chunks +26 lines, -14 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
manzagop (departed)
Hi Siggi, could you have a look? Thanks! P-A
3 years, 6 months ago (2017-06-05 15:06:30 UTC) #8
Sigurður Ásgeirsson
nice - have some comments. https://codereview.chromium.org/2923523002/diff/60001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2923523002/diff/60001/components/browser_watcher/postmortem_report_collector.cc#newcode65 components/browser_watcher/postmortem_report_collector.cc:65: base::DeleteFile(file, false) I'm not ...
3 years, 6 months ago (2017-06-05 15:39:39 UTC) #9
manzagop (departed)
Thanks! Another look? https://codereview.chromium.org/2923523002/diff/60001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2923523002/diff/60001/components/browser_watcher/postmortem_report_collector.cc#newcode65 components/browser_watcher/postmortem_report_collector.cc:65: base::DeleteFile(file, false) On 2017/06/05 15:39:39, Sigurður ...
3 years, 6 months ago (2017-06-05 18:02:16 UTC) #14
Sigurður Ásgeirsson
lgtm https://codereview.chromium.org/2923523002/diff/80001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2923523002/diff/80001/components/browser_watcher/postmortem_report_collector.cc#newcode65 components/browser_watcher/postmortem_report_collector.cc:65: if (base::DeleteFile(file, false)) { ubernit: I believe our ...
3 years, 6 months ago (2017-06-05 18:09:00 UTC) #15
manzagop (departed)
Thanks for the review!
3 years, 6 months ago (2017-06-05 18:26:34 UTC) #17
manzagop (departed)
Hi Rob! Could you have an OWNERS' look for tools\metrics\histograms\histograms.xml? Note I've also introduced an ...
3 years, 6 months ago (2017-06-05 18:31:09 UTC) #20
rkaplow
lgtm
3 years, 6 months ago (2017-06-05 21:04:03 UTC) #23
manzagop (departed)
Thanks!
3 years, 6 months ago (2017-06-05 21:05:54 UTC) #26
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/2923523002/100001
3 years, 6 months ago (2017-06-05 21:06:32 UTC) #27
commit-bot: I haz the power
3 years, 6 months ago (2017-06-05 21:12:44 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/194acde6446e88d5ac045e9768ef...

Powered by Google App Engine
This is Rietveld 408576698