From: Edward Peschko <horos11@gmail.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: gdb@sourceware.org
Subject: Re: industrial use of 'record' and replay.
Date: Wed, 03 Jun 2009 01:50:00 -0000 [thread overview]
Message-ID: <5cfa99000906021850s5bdb4a94t8bdea5b254936ddf@mail.gmail.com> (raw)
In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0786E824@ecamlmw720.eamcs.ericsson.se>
>> However, I had a few questions, about 'scaling up' the use of this:
>>
>> 1. Suppose that one has an extremely long process, one
>> which takes hours to
>> 'get' to the bug.. How can one 'short circuit' this process so
>> that you don't need
>> to replay for hours to get to it?
>
> I'm not sure I understand.
> Do you want to avoid the 'long execution' all together or do you want
> to avoid executing it with Recording enabled? Can you predict about
> where in the program the bug occurs?
What I want to do is record a program, but not necessarily have to replay it
from the start of its recording - ie: have the system automatically
take 'snapshots'
of the state at given intervals, and then have the ability to replay
from any given
snapshot.
Since this would be used in a test suite, I'd like it to be
automatable, ie: set up
in a config file, and then run without any interaction with the user.
One could then
run the test suite, and in the case of 'interesting events' take the
latest version
of the snapshot and run it from that point (rather than from the
beginning of the run,
which may be hours before). If the 'true' bug lies before the latest
snapshot, go
back to the previous snapshot (and the one previous) until the bug
itself is found.
Anyways, looking at your reply and reading about checkpoints, I'm not
sure if they
apply here. Maybe someone more familiar with the internals of record/replay can
comment..
Thanks much,
Ed
next prev parent reply other threads:[~2009-06-03 1:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 21:49 Edward Peschko
2009-06-03 1:20 ` Marc Khouzam
2009-06-03 1:50 ` Edward Peschko [this message]
2009-06-09 19:41 ` Toby Haynes
2009-06-11 1:42 ` Hui Zhu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5cfa99000906021850s5bdb4a94t8bdea5b254936ddf@mail.gmail.com \
--to=horos11@gmail.com \
--cc=gdb@sourceware.org \
--cc=marc.khouzam@ericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox