From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gvn5L-0003Wt-5I for qemu-devel@nongnu.org; Sat, 16 Dec 2006 22:53:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gvn5J-0003WT-Gk for qemu-devel@nongnu.org; Sat, 16 Dec 2006 22:53:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gvn5J-0003WG-An for qemu-devel@nongnu.org; Sat, 16 Dec 2006 22:53:09 -0500 Received: from [66.93.172.17] (helo=nevyn.them.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gvn5J-0004F7-Df for qemu-devel@nongnu.org; Sat, 16 Dec 2006 22:53:09 -0500 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1Gvn5H-0008WK-Oh for qemu-devel@nongnu.org; Sat, 16 Dec 2006 22:53:07 -0500 Date: Sat, 16 Dec 2006 22:53:07 -0500 From: Daniel Jacobowitz Subject: Re: [Qemu-devel] Tracing guest memory accesses Message-ID: <20061217035307.GA32712@nevyn.them.org> References: <891be9410612161942t28116f7w12123ebca0ca6278@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <891be9410612161942t28116f7w12123ebca0ca6278@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sat, Dec 16, 2006 at 07:42:46PM -0800, Diwaker Gupta wrote: > o do these changes seem correct? As in, do they actually track the > read/write memory accesses done by the guest? I was concerned because > when I start a guest, I see a whole lot of writes and not as many > reads, which seems a little counter intuitive. No. Those are I/O device accesses, not memory accesses. Look at the softmmu code instead. It may be easiest to add some new instrumentation in the translation code for whatever target you're interested in. -- Daniel Jacobowitz CodeSourcery