From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54933 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhepW-0005zi-MS for qemu-devel@nongnu.org; Tue, 25 Jan 2011 04:04:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhepP-00028x-3C for qemu-devel@nongnu.org; Tue, 25 Jan 2011 04:04:50 -0500 Received: from mail-ew0-f45.google.com ([209.85.215.45]:41965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhepO-00028s-Ri for qemu-devel@nongnu.org; Tue, 25 Jan 2011 04:04:43 -0500 Received: by ewy10 with SMTP id 10so2565765ewy.4 for ; Tue, 25 Jan 2011 01:04:42 -0800 (PST) Message-ID: <4D3E9227.4090701@gmail.com> Date: Tue, 25 Jan 2011 10:04:39 +0100 From: Stefano Bonifazi MIME-Version: 1.0 Subject: Re: [Qemu-devel] TCG flow vs dyngen References: <000001cbb58c$221f5a00$011aa8c0@side35ya3cah0n> <4D330D01.9060801@gmail.com> <4D3CA28C.5080907@landley.net> <4D3D9334.6050801@gmail.com> <4D3DBEC8.5090903@cse.iitd.ac.in> <4D3DD531.8030501@gmail.com> <4D3E8232.3090805@cse.iitd.ac.in> In-Reply-To: <4D3E8232.3090805@cse.iitd.ac.in> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dushyant Bansal Cc: qemu-devel@nongnu.org Again wow!! Is that really possible? Some sort of callback triggered at every instruction execution? > Yes, this mechanism works. I have written a code to count different > kinds of instructions. Great! that opens a lot of possibilities!. > It exists in file qemu/target-i386/translate.c Ops right! I checked target-ppc/translate.c as I need Power-PC as target.. I wonder what function replaces it there.. > You are also talking about qemu source code privided here > http://wiki.qemu.org/Download, right? Yes I am using this http://wiki.qemu.org/download/qemu-0.13.0.tar.gz > If you need, I can give the source code of counting implementation > with some documentation. > Hope this helps. > Wow that would be awesome! I'd really appreciate it very much! Thank you! :) You are free of sending it to my address! :) Best regards!! Stefano B.