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

Issue 3276002: Script to generate post mortem of all crashes on device (Closed)

Created:
10 years, 3 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Script to generate post mortem of all crashes on device BUG=4887 TEST=tested run_remote_tests and image_to_live still work. Ran script with machine with no crashes, as well as on a machine with a slew of powerd CHECK(false)'s. Change-Id: Iffb6571d30d99d876f41972f92a7149a716035ee

Patch Set 1 #

Patch Set 2 : Clean up #

Patch Set 3 : Rename #

Patch Set 4 : Add --clean option and better commenting #

Total comments: 53

Patch Set 5 : Respond to reviews #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -35 lines) Patch
A cros_show_stacks View 3 4 1 chunk +171 lines, -0 lines 2 comments Download
M image_to_live.sh View 1 chunk +1 line, -1 line 0 comments Download
M remote_access.sh View 1 2 3 4 2 chunks +21 lines, -1 line 0 comments Download
M run_remote_tests.sh View 2 chunks +0 lines, -33 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kmixter1
10 years, 3 months ago (2010-08-28 00:33:04 UTC) #1
petkov
Mostly nits, one bug about module_count, I think. LGTM otherwise. http://codereview.chromium.org/3276002/diff/8001/9001 File cros_show_stacks (right): http://codereview.chromium.org/3276002/diff/8001/9001#newcode3 ...
10 years, 3 months ago (2010-08-29 07:47:38 UTC) #2
sosa
mostly nits here as well http://codereview.chromium.org/3276002/diff/8001/9001 File cros_show_stacks (right): http://codereview.chromium.org/3276002/diff/8001/9001#newcode43 cros_show_stacks:43: # Return kind of ...
10 years, 3 months ago (2010-08-29 16:20:18 UTC) #3
kmixter1
PTAL http://codereview.chromium.org/3276002/diff/8001/9001 File cros_show_stacks (right): http://codereview.chromium.org/3276002/diff/8001/9001#newcode3 cros_show_stacks:3: # Copyright (c) 2009 The Chromium OS Authors. ...
10 years, 3 months ago (2010-08-31 02:07:25 UTC) #4
petkov
10 years, 3 months ago (2010-08-31 05:23:50 UTC) #5
LGTM

You may want to get this in as is and refactor later, if needed.

http://codereview.chromium.org/3276002/diff/5005/15001
File cros_show_stacks (right):

http://codereview.chromium.org/3276002/diff/5005/15001#newcode61
cros_show_stacks:61: for module in $(cat ${modules_file} | sort | uniq); do
no need for cat:

sort ${modules_file} | uniq

http://codereview.chromium.org/3276002/diff/5005/15001#newcode82
cros_show_stacks:82: function main() {
this routine feels a bit long -- consider breaking it up.

Powered by Google App Engine
This is Rietveld 408576698