New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 691595 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Last visit > 30 days ago
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 620813



Sign in to add a comment

Stability reports: tracking bug for collection work

Project Member Reported by manzagop@chromium.org, Feb 13 2017

Issue description

This is a tracking bug for collection work related to the stability file.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d348bbd2a92cc6e784868019bc2a1822e2437c59

commit d348bbd2a92cc6e784868019bc2a1822e2437c59
Author: manzagop <manzagop@chromium.org>
Date: Wed Mar 01 22:47:40 2017

Get visibility into stability file accumulation

While testing the current code, I noticed a stability file that is
missing version details nevers gets uploaded or deleted.

This CL:
- treats writedump failures as non-recoverable and deletes the file
- introduces a metric for the number of stability files

BUG=691595

Review-Url: https://codereview.chromium.org/2719343002
Cr-Commit-Position: refs/heads/master@{#454078}

[modify] https://crrev.com/d348bbd2a92cc6e784868019bc2a1822e2437c59/components/browser_watcher/postmortem_report_collector.cc
[modify] https://crrev.com/d348bbd2a92cc6e784868019bc2a1822e2437c59/tools/metrics/histograms/histograms.xml

Project Member

Comment 5 by bugdroid1@chromium.org, Apr 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0793c6c441b24c31bf2c890d243b1875a51abe80

commit 0793c6c441b24c31bf2c890d243b1875a51abe80
Author: manzagop <manzagop@chromium.org>
Date: Sun Apr 23 12:10:37 2017

Postmortem report collection: validate internal state

This change introduces checking of the underlying allocator's state
(initialized, deleted, corrupt, valid). Stability files are no longer deleted on clean exit but instead marked as deleted.

BUG=691595

Review-Url: https://codereview.chromium.org/2767193002
Cr-Commit-Position: refs/heads/master@{#466561}

[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/base/debug/activity_analyzer.cc
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/base/debug/activity_analyzer.h
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/base/debug/activity_tracker.cc
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/base/debug/activity_tracker.h
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/chrome/browser/metrics/chrome_metrics_service_client.cc
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/components/browser_watcher/postmortem_report_collector_unittest.cc
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/components/browser_watcher/postmortem_report_extractor.cc
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/components/browser_watcher/stability_report.proto
[modify] https://crrev.com/0793c6c441b24c31bf2c890d243b1875a51abe80/tools/metrics/histograms/histograms.xml

Project Member

Comment 6 by bugdroid1@chromium.org, Jun 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/194acde6446e88d5ac045e9768ef53aea4319def

commit 194acde6446e88d5ac045e9768ef53aea4319def
Author: manzagop <manzagop@chromium.org>
Date: Mon Jun 05 21:12:24 2017

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}

[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/BUILD.gn
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/features.cc
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/features.h
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/postmortem_report_collector.cc
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/postmortem_report_collector.h
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/postmortem_report_collector_unittest.cc
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/stability_paths.cc
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/stability_paths.h
[add] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/stability_paths_unittest.cc
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/stability_report_extractor.h
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/components/browser_watcher/watcher_metrics_provider_win.cc
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/194acde6446e88d5ac045e9768ef53aea4319def/tools/metrics/histograms/histograms.xml

Project Member

Comment 8 by bugdroid1@chromium.org, Aug 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f

commit 27f4805ad79030129eaa9f2e5fa5cf1f8b77393f
Author: manzagop <manzagop@chromium.org>
Date: Thu Aug 17 20:32:13 2017

StabilityReport multi-process collection support

Introduces multi-process collection support. Note that multi-processing recording was introduced in https://codereview.chromium.org/2680123003.

Details:
- processes now have a process type and key-value data.
- modules are now attributed to a process
- now collecting all processes, not just the first
- some key-value data (version information, timestamp) remains at report scope, to simplify report parsing

BUG=691595

Review-Url: https://codereview.chromium.org/2966563004
Cr-Commit-Position: refs/heads/master@{#495306}

[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/base/debug/activity_analyzer.cc
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/base/debug/activity_analyzer.h
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/base/debug/activity_analyzer_unittest.cc
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/chrome/browser/chrome_browser_field_trials_desktop.cc
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/components/browser_watcher/dump_stability_report_main_win.cc
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/components/browser_watcher/stability_data_names.cc
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/components/browser_watcher/stability_data_names.h
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/components/browser_watcher/stability_report.proto
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/components/browser_watcher/stability_report_extractor.cc
[modify] https://crrev.com/27f4805ad79030129eaa9f2e5fa5cf1f8b77393f/components/browser_watcher/stability_report_extractor_unittest.cc

Project Member

Comment 9 by bugdroid1@chromium.org, Aug 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/81b0303149ad9b71df1d7005ce2d8d408df22984

commit 81b0303149ad9b71df1d7005ce2d8d408df22984
Author: Pierre-Antoine Manzagol <manzagop@chromium.org>
Date: Tue Aug 22 17:08:57 2017

Decouple stability file processing from crash report generation

This CL introduces processing of the stability files even when
postmortem crash report collection is disabled, thus enabling collection
of user metrics.

Bug: 691595
Change-Id: I0c843b61dc1d00a8b072f1f5f41c0237337df0b4
Reviewed-on: https://chromium-review.googlesource.com/619768
Commit-Queue: Pierre-Antoine Manzagol (departed) <manzagop@chromium.org>
Reviewed-by: Sigurður Ásgeirsson <siggi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#496336}
[modify] https://crrev.com/81b0303149ad9b71df1d7005ce2d8d408df22984/components/browser_watcher/postmortem_report_collector.cc
[modify] https://crrev.com/81b0303149ad9b71df1d7005ce2d8d408df22984/components/browser_watcher/postmortem_report_collector.h
[modify] https://crrev.com/81b0303149ad9b71df1d7005ce2d8d408df22984/components/browser_watcher/postmortem_report_collector_unittest.cc
[modify] https://crrev.com/81b0303149ad9b71df1d7005ce2d8d408df22984/components/browser_watcher/watcher_metrics_provider_win.cc

Sign in to add a comment