This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: [Fwd: frysk-core/frysk/proc/ptrace AddressSpaceByteB ...]
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Andrew Cagney <cagney at redhat dot com>
- Cc: frysk <frysk at sourceware dot org>
- Date: Mon, 16 Apr 2007 12:39:57 -0500
- Subject: Re: [Fwd: frysk-core/frysk/proc/ptrace AddressSpaceByteB ...]
- References: <4622BC8C.2060400@redhat.com>
Andrew Cagney wrote:
FYI,
This patch tests the ByteBuffer.slice methods of
AddressSpaceByteBuffer, and RegisterSetByteBuffer. Using slice lets
us avoid copying around memory and register values. For instance,
given a large array variable, instead of copying its value into an
ArrayByteBuffer, a slice of memory, containing just the array variable
can be created.
Great, I'll start altering fcore to stream data from a slice() to disk
directly instead of trying to load it up in ElfSections first. I'll
probably want to stream 4k chunks from the slice'd buffer to disk at a
time Will the underlying bulk get() mechanism compensate by using
/proc/$$/mem over ptrace.peek eventually? Or is that something I should
do when the frysk and ptrace threads are merged?
Regards
Phil