From: Stefano Bonifazi <stefboombastic@gmail.com>
To: Dushyant Bansal <cs5070214@cse.iitd.ac.in>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] TCG flow vs dyngen
Date: Mon, 24 Jan 2011 20:38:25 +0100 [thread overview]
Message-ID: <4D3DD531.8030501@gmail.com> (raw)
In-Reply-To: <4D3DBEC8.5090903@cse.iitd.ac.in>
[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]
On 01/24/2011 07:02 PM, Dushyant Bansal wrote:
> On Monday 24 January 2011 08:26 PM, Stefano Bonifazi wrote:
>> On 01/24/2011 03:32 PM, Peter Maydell wrote:
>>>
>>> Being a JIT doesn't prohibit counting target instructions executed.
>>> It just means that counting them generally requires generating
>>> code to do the counting at runtime, so it's a more complicated
>>> change to make than it would be in a non-JIT emulator.
>>>
>> What do you mean? Should I change the code of qemu-user for counting
>> the instructions, or should I add code into the target binaries?
> You should see this pdf
> (www.ecs.syr.edu/faculty/yin/Teaching/TC2010/Proj4.pdf). It talks
> about tracing the instructions.
>
> --
> Dushyant
Wow thank you! It sounds incredibly interesting!!
> What we really need is to insert a function call into the
> translated code, so when each instruction is executed at runtime, our
> inserted function will be
> executed.
Again wow!! Is that really possible? Some sort of callback triggered at
every instruction execution?
Do you have any another document explaining that?
This pdf just gives instructions on how to do it on an old version of
qemu (disas_insn doesn't exist at all on my code now), and does not
explain what it is, what's behind that suggested code ..
Also the code for single step would be of great help to me! I really
needed that.. but when I tried it on qemu-user didn't work at all..
Thank you very much!
Best regards,
Stefano B.
[-- Attachment #2: Type: text/html, Size: 2604 bytes --]
next prev parent reply other threads:[~2011-01-24 19:39 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-16 14:46 [Qemu-devel] TCG flow vs dyngen Raphael Lefevre
2011-01-16 15:21 ` Stefano Bonifazi
2011-01-16 16:01 ` Raphaël Lefèvre
2011-01-16 16:43 ` Stefano Bonifazi
2011-01-16 18:29 ` Peter Maydell
2011-01-16 19:02 ` Stefano Bonifazi
2011-01-16 19:24 ` Peter Maydell
2011-01-24 13:20 ` [Qemu-devel] " Stefano Bonifazi
2011-01-16 20:50 ` [Qemu-devel] " Stefano Bonifazi
2011-01-16 21:08 ` Raphaël Lefèvre
2011-01-24 12:35 ` [Qemu-devel] " Stefano Bonifazi
2011-01-17 11:59 ` [Qemu-devel] " Lluís
2011-01-24 12:31 ` [Qemu-devel] " Stefano Bonifazi
2011-01-24 13:36 ` Lluís
2011-01-24 14:00 ` Stefano Bonifazi
2011-01-24 15:06 ` Lluís
2011-01-24 17:23 ` Stefano Bonifazi
2011-01-24 18:12 ` Lluís
2011-01-16 19:16 ` [Qemu-devel] " Raphaël Lefèvre
2011-01-23 21:50 ` Rob Landley
2011-01-23 22:25 ` Stefano Bonifazi
2011-01-23 23:40 ` Rob Landley
2011-01-24 10:17 ` Stefano Bonifazi
2011-01-24 18:20 ` Rob Landley
2011-01-24 21:16 ` Stefano Bonifazi
2011-01-25 1:19 ` Rob Landley
2011-01-25 8:53 ` Stefano Bonifazi
2011-01-24 14:32 ` Peter Maydell
2011-01-24 14:56 ` Stefano Bonifazi
2011-01-24 15:15 ` Lluís
2011-01-24 18:02 ` Dushyant Bansal
2011-01-24 19:38 ` Stefano Bonifazi [this message]
2011-01-25 7:56 ` Dushyant Bansal
2011-01-25 9:04 ` Stefano Bonifazi
2011-01-25 9:05 ` Edgar E. Iglesias
2011-01-25 9:28 ` Stefano Bonifazi
-- strict thread matches above, loose matches on Subject: below --
2010-12-10 21:26 Stefano Bonifazi
2010-12-11 11:02 ` Blue Swirl
2010-12-11 12:29 ` Stefano Bonifazi
2010-12-11 13:11 ` Blue Swirl
2010-12-11 14:32 ` Stefano Bonifazi
2010-12-11 14:44 ` Blue Swirl
2010-12-14 20:17 ` Stefano Bonifazi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D3DD531.8030501@gmail.com \
--to=stefboombastic@gmail.com \
--cc=cs5070214@cse.iitd.ac.in \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).