[Qemu-devel] Looking for the correct way to pull register values out of QEMU

2011-05-25 Thread Nathan DeBardeleben
Hello all, hopefully this message is not too trivial. I am looking for some simple direction. What I am looking to do is to pull the register states out of a QEMU session external to the session. I figure at very least I could save the state of the VM to a file and then dig through it but

Re: [Qemu-devel] Looking for the correct way to pull register values out of QEMU

2011-05-25 Thread Mulyadi Santosa
On Wed, May 25, 2011 at 23:42, Nathan DeBardeleben ndeb...@lanl.gov wrote: Hello all, hopefully this message is not too trivial.  I am looking for some simple direction. What I am looking to do is to pull the register states out of a QEMU session external to the session.  I figure at very

Re: [Qemu-devel] Looking for the correct way to pull register values out of QEMU

2011-05-25 Thread Richard Henderson
On 05/25/2011 09:42 AM, Nathan DeBardeleben wrote: 1: Stop QEMU (maybe not necessary?) 2: Drag down the set of registers 3: Release QEMU (contingent on #1) 4: Repeat over some periodic sampling rate. 5: Produce a gprof-like graph of where the PC was during the time observed. The gdb remote