Re: [Qemu-devel] Re: PC traces from QEMU

2007-04-02 Thread Shashidhar Mysore
Hi Stuart, Thanks for the patch. It works well for me, except that the log file grows so huge and qemu slows down quite a lot. Did you have problems with this? I was wondering if there was a way to actually begin the PC trace collection after completely booting QEMU and also restrict it to a

Re: [Qemu-devel] Re: PC traces from QEMU

2007-04-02 Thread Thiemo Seufer
Shashidhar Mysore wrote: Hi Stuart, Thanks for the patch. It works well for me, except that the log file grows so huge and qemu slows down quite a lot. Did you have problems with this? I was wondering if there was a way to actually begin the PC trace collection after completely booting QEMU

Re: [Qemu-devel] Re: PC traces from QEMU

2007-03-30 Thread Stuart Brady
On Thu, Mar 29, 2007 at 06:28:14PM -0700, Shashidhar Mysore wrote: Hi Stuart, Thanks for the reply, but since I'm a little new to qemu, can you please elaborate on how to insert the op_dump_pc function to extract the PC values? Well, here's a patch that does it: Index: target-i386/exec.h

[Qemu-devel] Re: PC traces from QEMU

2007-03-29 Thread Antti P Miettinen
Shashidhar Mysore [EMAIL PROTECTED] writes: I intend to extract program counter streams from QEMU as a program executes. Can you please point me to the hooks that I may have to insert into the QEMU source code in order to extract the PC values? I used to do that with qemu 0.7. I did not dig

Re: [Qemu-devel] Re: PC traces from QEMU

2007-03-29 Thread Stuart Brady
On Thu, Mar 29, 2007 at 08:29:03PM +0300, Antti P Miettinen wrote: Shashidhar Mysore [EMAIL PROTECTED] writes: I intend to extract program counter streams from QEMU as a program executes. Can you please point me to the hooks that I may have to insert into the QEMU source code in order to

Re: [Qemu-devel] Re: PC traces from QEMU

2007-03-29 Thread andrzej zaborowski
On 29/03/07, Stuart Brady [EMAIL PROTECTED] wrote: On Thu, Mar 29, 2007 at 08:29:03PM +0300, Antti P Miettinen wrote: Shashidhar Mysore [EMAIL PROTECTED] writes: I intend to extract program counter streams from QEMU as a program executes. Can you please point me to the hooks that I may have

Re: [Qemu-devel] Re: PC traces from QEMU

2007-03-29 Thread Shashidhar Mysore
Hi Antti, Thanks for the reply. Honestly, I am new to QEMU, hence I just tried following the steps you had mentioned to extract PCs without actually knowing what each of those mean. As you had said, - I defined DEBUG_EXEC in cpu-exec.c - I disabled USE_DIRECT_JUMP in exec-all.h - I disabled

Re: [Qemu-devel] Re: PC traces from QEMU

2007-03-29 Thread Shashidhar Mysore
Hi Stuart, Thanks for the reply, but since I'm a little new to qemu, can you please elaborate on how to insert the op_dump_pc function to extract the PC values? Thanks, -Shashi. On 3/29/07, Stuart Brady [EMAIL PROTECTED] wrote: On Thu, Mar 29, 2007 at 08:29:03PM +0300, Antti P Miettinen