Res: Res: [Qemu-devel] full dynamic instruction trace for MIPS target

2010-04-07 Thread Boris Cámara
2010 23:33:57 Assunto: Re: Res: [Qemu-devel] full dynamic instruction trace for MIPS target On Tue, 6 Apr 2010, Boris Cámara wrote: The aproach you are using on http://www.csl.cornell.edu/~vince/projects/qemu-trace/ to get the PC dump is similar to mine but as you dont disable the TB caches

Res: [Qemu-devel] full dynamic instruction trace for MIPS target

2010-04-06 Thread Boris Cámara
] full dynamic instruction trace for MIPS target I think the correct way to get the full instruction trace on a MIPS emulated processor is: the way you describe is slow because you are constantly re-generating the TBs. The best way to do this is to add your instrumentation to the TBs. I

Re: Res: [Qemu-devel] full dynamic instruction trace for MIPS target

2010-04-06 Thread Vince Weaver
ves...@rocketmail.com Cc: qemu-devel@nongnu.org Enviadas: Segunda-feira, 5 de Abril de 2010 22:41:52 Assunto: Re: [Qemu-devel] full dynamic instruction trace for MIPS target I think the correct way to get the full instruction trace on a MIPS emulated processor is: the way you describe is slow

[Qemu-devel] full dynamic instruction trace for MIPS target

2010-04-05 Thread Boris Cámara
Hi, I think the correct way to get the full instruction trace on a MIPS emulated processor is: -Disabling the tb cache: I did this by modifying the tb_find_slow() and tb_find_fast() functions to ever go to not_found label where the code is translated with no cache searches. -Loggin the

Re: [Qemu-devel] full dynamic instruction trace for MIPS target

2010-04-05 Thread Richard Henderson
On 04/05/2010 03:09 PM, Boris Cámara wrote: I think the correct way to get the full instruction trace on a MIPS emulated processor is: -singlestep -d exec That gives you the address of each instruction executed. I'm not sure what else you want than this, as you havn't said. r~

Res: [Qemu-devel] full dynamic instruction trace for MIPS target

2010-04-05 Thread Boris Cámara
, De: Richard Henderson r...@twiddle.net Para: Boris Cámara ves...@rocketmail.com Cc: qemu-devel@nongnu.org Enviadas: Segunda-feira, 5 de Abril de 2010 19:41:52 Assunto: Re: [Qemu-devel] full dynamic instruction trace for MIPS target On 04/05/2010 03:09 PM, Boris Cámara

Re: [Qemu-devel] full dynamic instruction trace for MIPS target

2010-04-05 Thread Vince Weaver
I think the correct way to get the full instruction trace on a MIPS emulated processor is: the way you describe is slow because you are constantly re-generating the TBs. The best way to do this is to add your instrumentation to the TBs. I have code that does that for a recent version of