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

Issue 1731923002: Support processing microdump for mips architecture (Closed)

Created:
4 years, 10 months ago by mveljko
Modified:
4 years, 8 months ago
CC:
google-breakpad-dev_googlegroups.com, gordana.cmiljanovic_imgtec.com, petar.jovanovic
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support processing microdump for mips architecture Based on changes for ARM, ARM64 and X86, the support for MIPS and MIPS64 is added in microdump. TEST=microdump_stackwalk ~/microdump-mips32.dmp symbols/ BUG=microdump_stackwalk failing for mips architectures

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressing comments from patch set 1 #

Patch Set 3 : Run clang-format on microdump.cc #

Patch Set 4 : Revert of ps3 and formating cerr #

Patch Set 5 : Rebase #

Patch Set 6 : Reduced size of .sym files + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -6 lines) Patch
M src/google_breakpad/processor/microdump.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/processor/microdump.cc View 1 2 3 4 5 5 chunks +43 lines, -6 lines 0 comments Download
M src/processor/microdump_processor_unittest.cc View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
A src/processor/testdata/microdump-mips32.dmp View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A src/processor/testdata/microdump-mips64.dmp View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A src/processor/testdata/symbols/microdump/crash_example/6E72E2F1A5F59AB3D51356FDFE394D490/crash_example.sym View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A src/processor/testdata/symbols/microdump/crash_example/8F36148CC4647A8116CAF2A25F591F570/crash_example.sym View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (1 generated)
mveljko
Please take a look
4 years, 10 months ago (2016-02-24 13:09:38 UTC) #2
vapier
https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc File src/processor/microdump.cc (right): https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc#newcode137 src/processor/microdump.cc:137: void MicrodumpContext::SetContextMIPS(MDRawContextMIPS* mips, bool arch64) { i haven't looked ...
4 years, 9 months ago (2016-02-24 22:35:44 UTC) #3
Primiano Tucci (use gerrit)
Fun... I didn't remember writing the code for producing mips microdumps, but according to git ...
4 years, 9 months ago (2016-02-25 01:08:07 UTC) #4
mveljko
I addressed all the comments from the previous patch set. I don't know why git ...
4 years, 9 months ago (2016-02-25 09:29:51 UTC) #5
vapier
https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc File src/processor/microdump.cc (right): https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc#newcode327 src/processor/microdump.cc:327: " bytes instead of " << sizeof(MDRawContextMIPS) << std::endl; ...
4 years, 9 months ago (2016-02-25 16:15:44 UTC) #6
mveljko
On 2016/02/25 16:15:44, vapier wrote: > https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc > File src/processor/microdump.cc (right): > > https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc#newcode327 > ...
4 years, 9 months ago (2016-02-25 16:26:15 UTC) #7
mveljko
https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc File src/processor/microdump.cc (right): https://codereview.chromium.org/1731923002/diff/1/src/processor/microdump.cc#newcode327 src/processor/microdump.cc:327: " bytes instead of " << sizeof(MDRawContextMIPS) << std::endl; ...
4 years, 9 months ago (2016-02-25 16:35:25 UTC) #8
Primiano Tucci (use gerrit)
LGTM % vapier nits. clang-format might help :) >And one note/question from me: > I ...
4 years, 9 months ago (2016-02-25 17:00:15 UTC) #9
mveljko
> So the reason is that I never had a use case to use microdumps ...
4 years, 9 months ago (2016-02-26 10:43:55 UTC) #10
Primiano Tucci (use gerrit)
On 2016/02/26 10:43:55, mveljko wrote: > Maybe microdump generation should be disabled on Linux since ...
4 years, 9 months ago (2016-02-26 17:32:23 UTC) #11
vapier
i'm not against us using a clang format file for the code base, but that ...
4 years, 9 months ago (2016-02-26 19:05:45 UTC) #12
mveljko
On 2016/02/26 19:05:45, vapier wrote: > i'm not against us using a clang format file ...
4 years, 9 months ago (2016-02-29 09:10:06 UTC) #13
mveljko
> But probably no one will ever try to use this on Linux or any ...
4 years, 9 months ago (2016-02-29 09:17:08 UTC) #14
vapier
what are the sizes of those sym files ? i'm guessing they're not exactly small. ...
4 years, 9 months ago (2016-02-29 15:58:42 UTC) #15
vapier
also, i suspect you'll need to rebase to latest master :)
4 years, 9 months ago (2016-02-29 17:40:40 UTC) #16
mveljko
On 2016/02/29 15:58:42, vapier wrote: > what are the sizes of those sym files ? ...
4 years, 9 months ago (2016-03-01 13:18:21 UTC) #17
vapier
existing large files are not a good reason to include more. we want to scale ...
4 years, 9 months ago (2016-03-02 21:04:09 UTC) #18
mveljko
On 2016/03/02 21:04:09, vapier wrote: > existing large files are not a good reason to ...
4 years, 8 months ago (2016-03-30 14:20:07 UTC) #19
vapier
lgtm
4 years, 8 months ago (2016-03-30 22:33:13 UTC) #20
vapier
4 years, 8 months ago (2016-04-01 23:04:20 UTC) #21
pushed manually since `git cl land` breaks authorship info

Powered by Google App Engine
This is Rietveld 408576698