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

Issue 1464002: Fill in CPU info in mini-dump for Arm64. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rmcilroy
Modified:
10 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
primiano
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/src
Visibility:
Public.

Description

Fill in CPU info in mini-dump for Arm64.

Adds Arm64 varients of CPUFillThreadInfo and CPUFillFromUContext and
WriteCPUInformation for the Linux/Android client.

BUG=354405,335641
R=mark@chromium.org

Committed: 1310

Patch Set 1 #

Total comments: 7

Patch Set 2 : Change ifdefs #

Patch Set 3 : Change cpuinfo parsing to follow Arm approach. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M client/linux/minidump_writer/minidump_writer.cc View 1 2 9 chunks +54 lines, -13 lines 2 comments Download

Messages

Total messages: 8
rmcilroy
PTAL. AFAIK this should be all the changes required for Breakpad support of ARM64 for ...
10 years, 7 months ago #1
Mark Mentovai
https://breakpad.appspot.com/1464002/diff/1/client/linux/minidump_writer/minidump_writer.cc File client/linux/minidump_writer/minidump_writer.cc (right): https://breakpad.appspot.com/1464002/diff/1/client/linux/minidump_writer/minidump_writer.cc#newcode1354 client/linux/minidump_writer/minidump_writer.cc:1354: #if !defined(__mips__) && !defined(__aarch64__) This is more properly #if ...
10 years, 7 months ago #2
rmcilroy
https://breakpad.appspot.com/1464002/diff/1/client/linux/minidump_writer/minidump_writer.cc File client/linux/minidump_writer/minidump_writer.cc (right): https://breakpad.appspot.com/1464002/diff/1/client/linux/minidump_writer/minidump_writer.cc#newcode1354 client/linux/minidump_writer/minidump_writer.cc:1354: #if !defined(__mips__) && !defined(__aarch64__) On 2014/04/09 16:42:54, Mark Mentovai ...
10 years, 7 months ago #3
Mark Mentovai
Yeah, I figured that the baseline for ARM64 was way more feature-filled. I thought that ...
10 years, 7 months ago #4
rmcilroy
Having thought about it again I think you are right - it could be useful ...
10 years, 7 months ago #5
rmcilroy
On 2014/04/10 16:38:18, rmcilroy wrote: > Having thought about it again I think you are ...
10 years, 7 months ago #6
rmcilroy
Committed patchset #3 manually as r1310 (presubmit successful).
10 years, 7 months ago #7
Mark Mentovai
10 years, 7 months ago #8
Message was sent while issue was closed.
LGTM.

https://breakpad.appspot.com/1464002/diff/70001/client/linux/minidump_writer/...
File client/linux/minidump_writer/minidump_writer.cc (right):

https://breakpad.appspot.com/1464002/diff/70001/client/linux/minidump_writer/...
client/linux/minidump_writer/minidump_writer.cc:1574:
sys_info->cpu.arm_cpu_info.cpuid |=
rmcilroy wrote:
> Is this OK to share the cpu.arm_cpu_info stuct for both arm and aarch64?  it
> seems to be the same situation for x86/x86_64/

Yes, it sure is.
Sign in to reply to this message.

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