From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59238 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq1At-0005y6-Iy for qemu-devel@nongnu.org; Thu, 17 Feb 2011 05:33:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq1As-00010Q-Ak for qemu-devel@nongnu.org; Thu, 17 Feb 2011 05:33:27 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:48601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq1As-000105-2t for qemu-devel@nongnu.org; Thu, 17 Feb 2011 05:33:26 -0500 Received: by bwz16 with SMTP id 16so2396678bwz.4 for ; Thu, 17 Feb 2011 02:33:24 -0800 (PST) Message-ID: <4D5CF972.5040609@gmail.com> Date: Thu, 17 Feb 2011 11:33:22 +0100 From: Marco Boni MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Instruction count with QEMU List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all, I am pretty new to QEMU development. To get involved in this, I have been asked by my supervisor to do a simple modification to QEMU. We would like to count the number of instructions the virtual machine processes. In other words, it's all about to declare a counter and increment it every time a guest instruction has to be executed. Can you please give me some hints on how to realize it, i.e. which files I should put my hands on? Thanks a lot.... m -- Marco Boni Mobile: +39 335 607 9353 Email: mb.boni@gmail.com Skype: m.boni