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

Issue 48001: Added on-demand dump generation for Linux, Linux test app

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 11 months ago by brdevmn
Modified:
14 years, 11 months ago
Reviewers:
mochalatte
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/src/
Visibility:
Public.

Patch Set 1 #

Total comments: 8

Patch Set 2 : Refactored common code. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M client/linux/handler/exception_handler.cc View 1 5 chunks +35 lines, -4 lines 4 comments Download
M client/linux/handler/exception_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
A processor/testdata/linux_test_app.cc View 1 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 7
brdevmn
Added on-demand dump generation for Linux, and a small Linux test app.
14 years, 11 months ago #1
mochalatte
http://breakpad.appspot.com/48001/diff/1/3 File client/linux/handler/exception_handler.cc (right): http://breakpad.appspot.com/48001/diff/1/3#newcode86 Line 86: #include "client/linux/minidump_writer//minidump_writer.h" request for a drive by fix ...
14 years, 11 months ago #2
brdevmn
http://breakpad.appspot.com/48001/diff/1/3 File client/linux/handler/exception_handler.cc (right): http://breakpad.appspot.com/48001/diff/1/3#newcode86 Line 86: #include "client/linux/minidump_writer//minidump_writer.h" On 2009/12/14 21:09:24, mochalatte wrote: > ...
14 years, 11 months ago #3
mochalatte
few more nits :-) http://breakpad.appspot.com/48001/diff/1/3 File client/linux/handler/exception_handler.cc (right): http://breakpad.appspot.com/48001/diff/1/3#newcode382 Line 382: On 2009/12/14 23:38:45, brdevmn ...
14 years, 11 months ago #4
brdevmn
http://breakpad.appspot.com/48001/diff/2003/3003 File client/linux/handler/exception_handler.cc (right): http://breakpad.appspot.com/48001/diff/2003/3003#newcode354 Line 354: On 2009/12/15 06:53:29, mochalatte wrote: > Since the ...
14 years, 11 months ago #5
mochalatte
http://breakpad.appspot.com/48001/diff/2003/3003 File client/linux/handler/exception_handler.cc (right): http://breakpad.appspot.com/48001/diff/2003/3003#newcode354 Line 354: On 2009/12/15 21:38:26, brdevmn wrote: > On 2009/12/15 ...
14 years, 11 months ago #6
mochalatte
14 years, 11 months ago #7
LGTM

http://breakpad.appspot.com/48001/diff/2003/3003
File client/linux/handler/exception_handler.cc (right):

http://breakpad.appspot.com/48001/diff/2003/3003#newcode354
Line 354: 
On 2009/12/16 19:43:36, mochalatte wrote:
> On 2009/12/15 21:38:26, brdevmn wrote:
> > On 2009/12/15 06:53:29, mochalatte wrote:
> > > Since the minidump writing is synchronous and the callback happens at the
> end,
> > > is it necessary for WiteMinidump to support a callback functionality? 
> > 
> > It's not strictly necessary, but it may allow for slightly easier mixed-mode
> use
> > by being consistent between on-demand and on-exception minidump generation.
> > > 
> 
> I'm going to have to be difficult here :-) One scenario I can imagine is using
> the callback to track the number of crashes; if we do callbacks in both the
> ondemand case and the on-exception case, the client of Breakpad will have to
> keep track of when they've initiated an ondemand dump to make sure they aren't
> tracking this statistic incorrectly.
> 
> Maybe we could add an 'on-demand' boolean to the callback?
> 
> 

I guess since they specify a context for each on demand generation, the client
can use that parameter for this purpose. Please disregard, I'll LGTM
Sign in to reply to this message.

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