Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(171)

Issue 425002: Linux MinidumpWriter should properly set number_of_processors on ARM (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by Ted Mielczarek
Modified:
11 years, 1 month ago
Reviewers:
digit
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

Currently MinidumpWriter::WriteCPUInformation early-returns because it tries to
find the model/stepping/cpu family info from /proc/cpuinfo, which isn't present
on ARM. While it does this, it fails to set the number_of_processors field in
the SystemInfo. This patch changes it to only attempt to find these x86-specific
fields on x86/x86-64.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/minidump_writer/minidump_writer.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Ted Mielczarek
11 years, 8 months ago #1
digit
lgtm. For the record, on ARM, the 'processor' field only appears in /proc/cpuinfo on multi-core ...
11 years, 8 months ago #2
Ted Mielczarek
On Fri, Aug 3, 2012 at 7:52 AM, <digit@chromium.org> wrote: > lgtm. > > For ...
11 years, 8 months ago #3
digit
On Fri, Aug 3, 2012 at 4:56 PM, Ted Mielczarek <ted.mielczarek@gmail.com>wrote: > > > An ...
11 years, 8 months ago #4
Ted Mielczarek
On Fri, Aug 3, 2012 at 11:33 AM, David Turner <digit@chromium.org> wrote: > Fwiw, I've ...
11 years, 8 months ago #5
Ted Mielczarek
11 years, 1 month ago #6
I realized your patch stalled out, so I pushed this patch as a stopgap.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted