From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPY1k-0001V8-SV for qemu-devel@nongnu.org; Mon, 26 Jun 2017 13:42:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPY1d-00071S-9m for qemu-devel@nongnu.org; Mon, 26 Jun 2017 13:42:17 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:51275) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dPY1c-00070n-OH for qemu-devel@nongnu.org; Mon, 26 Jun 2017 13:42:13 -0400 Date: Mon, 26 Jun 2017 13:42:08 -0400 From: "Emilio G. Cota" Message-ID: <20170626174208.GA17935@flamenco> References: <8760fqorbp.fsf@frigg.lan> <20170620172002.GA23332@flamenco> <87lgokpoqy.fsf@frigg.lan> <87zicwgt3l.fsf@frigg.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87zicwgt3l.fsf@frigg.lan> Subject: Re: [Qemu-devel] Tracing guest virtual addresses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jayanto Minocha , qemu-devel@nongnu.org On Sun, Jun 25, 2017 at 15:16:46 +0300, Lluís Vilanova wrote: > Lluís Vilanova writes: > > > Jayanto Minocha writes: > >> Lluis, > >> My modifications were almost the same as those done by Emilio. There were > >> no memory trace events in the trace file. > > > I'll take a look at it after I finish revamping the generic translation loop > > series (hopefully today). > > I just sent a patch that should fix it: > > https://lists.gnu.org/archive/html/qemu-devel/2017-06/msg05491.html Yay! That fixes the problem for me: $ ../scripts/simpletrace.py trace-events-all trace-17579 | head -5 guest_mem_before_exec 0.000 pid=17579 __cpu=0x563780e726a0 vaddr=0x4000a2a030 info=0x4 guest_mem_before_exec 0.368 pid=17579 __cpu=0x563780e726a0 vaddr=0x4000a2a034 info=0x4 guest_mem_before_exec 0.162 pid=17579 __cpu=0x563780e726a0 vaddr=0x4000a2a034 info=0x14 guest_mem_before_exec 0.163 pid=17579 __cpu=0x563780e726a0 vaddr=0x4000a2a028 info=0x4 guest_mem_before_exec 0.109 pid=17579 __cpu=0x563780e726a0 vaddr=0x4000a2a02c info=0x4 Thanks, Emilio