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

Issue 6450061: Adding support for generating minidumps to a given file descriptor.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by jcivelli
Modified:
11 years, 8 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews_chromium.org
Base URL:
http://git.chromium.org/external/google-breakpad/src.git@master
Visibility:
Public.

Description

Adding support for generating minidumps to a given file descriptor. Adding a way to create an ExceptionHandler that takes in a file descriptor where the minidump should be created, without the need of opening any other file. BUG=None TEST=Run unit-tests.

Patch Set 1 #

Total comments: 36

Patch Set 2 : Addressed Mark's comments and more clean-ups. #

Patch Set 3 : Minor clean-ups. #

Total comments: 12

Patch Set 4 : Addressing Mark's comments. #

Total comments: 11

Patch Set 5 : Latests comments addressed. #

Patch Set 6 : Synced #

Patch Set 7 : Applied CL to a non-chromium tree for landing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+664 lines, -407 lines) Patch
M Makefile.am View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
M Makefile.in View 1 2 3 4 5 6 8 chunks +11 lines, -0 lines 0 comments Download
M src/client/linux/handler/exception_handler.h View 1 2 3 4 5 6 9 chunks +39 lines, -53 lines 0 comments Download
M src/client/linux/handler/exception_handler.cc View 1 2 3 4 5 6 9 chunks +46 lines, -68 lines 0 comments Download
M src/client/linux/handler/exception_handler_unittest.cc View 1 2 3 4 5 6 21 chunks +243 lines, -235 lines 0 comments Download
A src/client/linux/handler/minidump_descriptor.h View 1 2 3 4 5 6 1 chunk +84 lines, -0 lines 0 comments Download
A src/client/linux/handler/minidump_descriptor.cc View 1 2 3 4 5 6 1 chunk +61 lines, -0 lines 0 comments Download
M src/client/linux/minidump_writer/minidump_writer.h View 1 2 3 4 5 6 1 chunk +12 lines, -6 lines 0 comments Download
M src/client/linux/minidump_writer/minidump_writer.cc View 1 2 3 4 5 6 13 chunks +92 lines, -32 lines 0 comments Download
M src/client/linux/minidump_writer/minidump_writer_unittest.cc View 1 2 3 4 5 6 4 chunks +33 lines, -6 lines 0 comments Download
M src/client/minidump_file_writer.h View 1 2 3 4 5 6 3 chunks +25 lines, -4 lines 0 comments Download
M src/client/minidump_file_writer.cc View 1 2 3 4 5 6 2 chunks +13 lines, -2 lines 0 comments Download
M src/common/tests/auto_tempdir.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9
jcivelli
11 years, 9 months ago (2012-07-28 01:09:16 UTC) #1
Mark Mentovai
https://codereview.appspot.com/6450061/diff/1/client/linux/handler/exception_handler.cc File client/linux/handler/exception_handler.cc (right): https://codereview.appspot.com/6450061/diff/1/client/linux/handler/exception_handler.cc#newcode196 client/linux/handler/exception_handler.cc:196: } else { Too many spaces before the else? ...
11 years, 9 months ago (2012-07-28 15:26:21 UTC) #2
jcivelli
Per our chat, ExceptionHandler now takes a MinidumpDescriptor that itself takes either a dir path ...
11 years, 9 months ago (2012-08-02 21:41:34 UTC) #3
Mark Mentovai
This mostly looks good. Few more comments. https://codereview.appspot.com/6450061/diff/9012/client/linux/handler/exception_handler.cc File client/linux/handler/exception_handler.cc (left): https://codereview.appspot.com/6450061/diff/9012/client/linux/handler/exception_handler.cc#oldcode493 client/linux/handler/exception_handler.cc:493: UpdateNextID(); By ...
11 years, 9 months ago (2012-08-03 21:32:08 UTC) #4
jcivelli
https://codereview.appspot.com/6450061/diff/9012/client/linux/handler/exception_handler.cc File client/linux/handler/exception_handler.cc (left): https://codereview.appspot.com/6450061/diff/9012/client/linux/handler/exception_handler.cc#oldcode493 client/linux/handler/exception_handler.cc:493: UpdateNextID(); On 2012/08/03 21:32:08, Mark Mentovai wrote: > By ...
11 years, 8 months ago (2012-08-06 18:16:32 UTC) #5
Mark Mentovai
https://codereview.appspot.com/6450061/diff/13001/client/linux/handler/exception_handler.cc File client/linux/handler/exception_handler.cc (right): https://codereview.appspot.com/6450061/diff/13001/client/linux/handler/exception_handler.cc#newcode455 client/linux/handler/exception_handler.cc:455: // Reposition the FD to its beginning. You’ll be ...
11 years, 8 months ago (2012-08-06 20:30:26 UTC) #6
jcivelli
https://codereview.appspot.com/6450061/diff/13001/client/linux/handler/exception_handler.cc File client/linux/handler/exception_handler.cc (right): https://codereview.appspot.com/6450061/diff/13001/client/linux/handler/exception_handler.cc#newcode455 client/linux/handler/exception_handler.cc:455: // Reposition the FD to its beginning. On 2012/08/06 ...
11 years, 8 months ago (2012-08-06 21:01:03 UTC) #7
Mark Mentovai
(Re-review to follow in the coming minutes, just responding to your comment.) https://codereview.appspot.com/6450061/diff/13001/client/linux/handler/exception_handler_unittest.cc File client/linux/handler/exception_handler_unittest.cc ...
11 years, 8 months ago (2012-08-06 21:05:32 UTC) #8
Mark Mentovai
11 years, 8 months ago (2012-08-06 22:01:28 UTC) #9
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b