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

Issue 2736008: Measure and report time between user-space process crashes. (Closed)

Created:
10 years, 6 months ago by petkov
Modified:
9 years, 7 months ago
Reviewers:
kmixter1
CC:
chromium-os-reviews_chromium.org, petkov, Luigi Semenzato, sosa
Base URL:
ssh://git@chromiumos-git/metrics.git
Visibility:
Public.

Description

Measure and report time between user-space process crashes. BUG=none TEST=unit tests, gmerged on the device and inspected logs, about:histograms,etc.

Patch Set 1 #

Patch Set 2 : Reschedule use monitor only if user is already active. #

Total comments: 2

Patch Set 3 : Counter reports 0 counts now. Up the max crash interval to 4 weeks. #

Total comments: 2

Patch Set 4 : DCHECK->DCHECK_EQ #

Patch Set 5 : No need to start the back off again on crashes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -53 lines) Patch
M counter.h View 2 chunks +4 lines, -4 lines 0 comments Download
M counter.cc View 3 6 chunks +21 lines, -12 lines 0 comments Download
M counter_test.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M metrics_daemon.h View 5 chunks +23 lines, -3 lines 0 comments Download
M metrics_daemon.cc View 1 2 3 4 10 chunks +48 lines, -2 lines 0 comments Download
M metrics_daemon_test.cc View 1 2 12 chunks +77 lines, -28 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
petkov
Here's a version for an early review. Some known issues that we may or may ...
10 years, 6 months ago (2010-06-11 20:46:46 UTC) #1
kmixter1
First, thanks for looking at this! I don't think sub-1 second resolution is so important, ...
10 years, 6 months ago (2010-06-11 21:19:44 UTC) #2
petkov
Sub-one seconds crashes and crashes while the screen saver is active are reported with an ...
10 years, 6 months ago (2010-06-16 21:01:03 UTC) #3
kmixter1
LGTM http://codereview.chromium.org/2736008/diff/6001/7004 File metrics_daemon.cc (right): http://codereview.chromium.org/2736008/diff/6001/7004#newcode345 metrics_daemon.cc:345: if (user_active_) { This is subtle. Do you ...
10 years, 6 months ago (2010-06-16 22:41:05 UTC) #4
petkov
10 years, 6 months ago (2010-06-16 22:50:27 UTC) #5
I'll push this as soon as http://codereview.chromium.org/2716010/show LGTY.

http://codereview.chromium.org/2736008/diff/6001/7004
File metrics_daemon.cc (right):

http://codereview.chromium.org/2736008/diff/6001/7004#newcode345
metrics_daemon.cc:345: if (user_active_) {
On 2010/06/16 22:41:05, kmixter1 wrote:
> This is subtle.  Do you want to create something like UpdateActiveState which
> does this and the above SetUserActiveState for use when called asynchronously
> through an RPC?

Actually, I've remove the monitor rescheduling on crashes. There's really no
need to restart the back off on such events.

Powered by Google App Engine
This is Rietveld 408576698