Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: real world reverse debugging success story
Date: Thu, 12 Nov 2009 03:38:00 -0000	[thread overview]
Message-ID: <4AFB5F43.3030908@vmware.com> (raw)
In-Reply-To: <F7CE05678329534C957159168FA70DEC5158E83B41@EUSAACMS0703.eamcs.ericsson.se>

Marc Khouzam wrote:
> [...]
>> Stats: used an 8 million instruction cache, running as a
>> ring buffer.  Had to record over 80 million instructions
>> before I tripped the bug.  Saved core file with record log
>> was 250 megabytes, and reloaded fine.
> 
> Very impressive!
> 
> How was the responsiveness?  I assume you didn't step
> over all those instuctions ;-)  So, you must have run the program
> and have it be recorded for a while.  I'm wondering if the execution
> was annoyingly slow, or if it was ok.

The record phase was kind of slow, but I'm sure that was
impacted by a very large number of notifications to the effect
that process record would not record some memory because it
could not get the segment register.

Replay was not bad at all, about 15 seconds to get from
"goto-bookmark begin" to "goto-bookmark end".  For 80
million instructions, that's about 5 million insns / sec.

Much faster than a first gen IBM PC, for instance!   ;-)



  reply	other threads:[~2009-11-12  1:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12  1:09 Michael Snyder
2009-11-12  1:18 ` Marc Khouzam
2009-11-12  3:38   ` Michael Snyder [this message]
2009-11-12 20:53     ` Michael Snyder
2009-11-12 21:07       ` Marc Khouzam
2009-11-12 21:19     ` Sean Chen

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=4AFB5F43.3030908@vmware.com \
    --to=msnyder@vmware.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