qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] full dynamic instruction trace for MIPS target
@ 2010-04-05 22:09 Boris Cámara
  2010-04-05 22:41 ` Richard Henderson
  2010-04-06  1:41 ` Vince Weaver
  0 siblings, 2 replies; 7+ messages in thread
From: Boris Cámara @ 2010-04-05 22:09 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

   
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 PC and the instruction: I created a qemu_log() function clone and call it just before executing decode_opc() on target-mips/translate.c

Please, can any one  tell me if it is correct or if I am missing something?
I  made some tests using this method but it is very very slow. Is there a more efficient way to obtain the full instruction trace for a MIPS target processor emulated on qemu?

thanks,


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

[-- Attachment #2: Type: text/html, Size: 4277 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-04-07 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-05 22:09 [Qemu-devel] full dynamic instruction trace for MIPS target Boris Cámara
2010-04-05 22:41 ` Richard Henderson
2010-04-05 23:24   ` Res: " Boris Cámara
2010-04-06  1:41 ` Vince Weaver
2010-04-06 23:18   ` Res: " Boris Cámara
2010-04-07  2:33     ` Vince Weaver
2010-04-07 16:42       ` Res: " Boris Cámara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).