From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6jLZ-00075e-F1 for qemu-devel@nongnu.org; Wed, 20 May 2009 06:48:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6jLV-000755-VU for qemu-devel@nongnu.org; Wed, 20 May 2009 06:48:29 -0400 Received: from [199.232.76.173] (port=51046 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6jLV-000752-Pu for qemu-devel@nongnu.org; Wed, 20 May 2009 06:48:25 -0400 Received: from mx20.gnu.org ([199.232.41.8]:25460) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6jLV-0004e4-HR for qemu-devel@nongnu.org; Wed, 20 May 2009 06:48:25 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6jLT-00008E-DY for qemu-devel@nongnu.org; Wed, 20 May 2009 06:48:23 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Instruction counting instrumentation for ARM + initial patch Date: Wed, 20 May 2009 11:48:42 +0100 References: <1242745197.24234.7.camel@peak10.cs.hut.fi> In-Reply-To: <1242745197.24234.7.camel@peak10.cs.hut.fi> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905201148.43631.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Timo =?iso-8859-15?q?T=F6yry?= On Tuesday 19 May 2009, Timo T=F6yry wrote: > Hi, > > The attached patch implements instruction counting instrumentation for > ARM usermode linux. Currently the patch is a working draft but we > intend to clean it up for possible inclusion. We'd appreciate any > comments. Below is a more detailed description. Ewww. This looks pretty much impossible to maintain. If you really want to do this I recommend dumping an execution trace, and=20 having a third party utility do the counting after the fact. Paul