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

Issue 2825054: Utility to generate minidump symbols for developer diagnostics and fix 64b elf errors (Closed)

Created:
10 years, 5 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov, krisr
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Base URL:
ssh://git@chromiumos-git//crosutils.git
Visibility:
Public.

Description

Utility to generate minidump symbols for developer diagnostics BUG=4882, 4886

Patch Set 1 #

Patch Set 2 : Use breakpad directory name consistently and ignore lib64 files #

Total comments: 24

Patch Set 3 : Respond to review #

Patch Set 4 : Fix perms #

Patch Set 5 : Rename to cros_ prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -143 lines) Patch
A cros_generate_breakpad_symbols View 1 2 3 4 1 chunk +206 lines, -0 lines 0 comments Download
M upload_symbols View 1 2 3 4 3 chunks +33 lines, -143 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kmixter1
10 years, 5 months ago (2010-07-16 22:51:07 UTC) #1
kmixter1
Originally sent this to Sosa, but since he's out, Darin can you take a look?
10 years, 4 months ago (2010-08-04 18:22:38 UTC) #2
petkov
a bunch of nits... http://codereview.chromium.org/2825054/diff/3001/4001 File generate_breakpad_symbols (right): http://codereview.chromium.org/2825054/diff/3001/4001#newcode23 generate_breakpad_symbols:23: DEFINE_boolean dryrun ${FLAGS_FALSE} "Run without ...
10 years, 4 months ago (2010-08-04 18:57:05 UTC) #3
kmixter1
PTAL http://codereview.chromium.org/2825054/diff/3001/4001 File generate_breakpad_symbols (right): http://codereview.chromium.org/2825054/diff/3001/4001#newcode23 generate_breakpad_symbols:23: DEFINE_boolean dryrun ${FLAGS_FALSE} "Run without actually uploading." On ...
10 years, 4 months ago (2010-08-05 01:16:40 UTC) #4
petkov
10 years, 4 months ago (2010-08-05 15:55:45 UTC) #5
I think there's a new convention to prefix standalone script utilities with
cros_

LGTM, otherwise.

http://codereview.chromium.org/2825054/diff/3001/4001
File generate_breakpad_symbols (right):

http://codereview.chromium.org/2825054/diff/3001/4001#newcode65
generate_breakpad_symbols:65: if echo "${elf}" | grep -q /usr/lib64; then
On 2010/08/05 01:16:40, kmixter1 wrote:
> On 2010/08/04 18:57:06, petkov wrote:
> > Does
> > 
> > if [[ "${elf}" == */usr/lib64/* ]]; then
> > 
> > work?
> > 
> 
> That's news to me.  You're such a bash pro.

I hate bash -- so I guess it doesn't work?

http://codereview.chromium.org/2825054/diff/3001/4001#newcode184
generate_breakpad_symbols:184: ! process_file "${debug_file}" "${upload_url}"
On 2010/08/05 01:16:40, kmixter1 wrote:
> On 2010/08/04 18:57:06, petkov wrote:
> > What's the ! for?
> > 
> 
> Ignores the return value.

I thought it inverts the result. OK, if it ignores...

Powered by Google App Engine
This is Rietveld 408576698