From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7Bem-0003Ti-EA for qemu-devel@nongnu.org; Wed, 28 Apr 2010 14:06:44 -0400 Received: from [140.186.70.92] (port=33961 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7Bek-0003Sl-E3 for qemu-devel@nongnu.org; Wed, 28 Apr 2010 14:06:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7Bei-0000s2-29 for qemu-devel@nongnu.org; Wed, 28 Apr 2010 14:06:42 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:53729) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7Beh-0000ri-Nb for qemu-devel@nongnu.org; Wed, 28 Apr 2010 14:06:40 -0400 Message-ID: <4BD8792C.3050509@mail.berlios.de> Date: Wed, 28 Apr 2010 20:06:36 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] flush TB on singlestep command References: <4BCD924D.1080909@web.de> <40763F40-E48C-4380-94E0-E637F00A5C81@suse.de> <297C546E-0AE2-4EAD-AEAA-3FABAB7786FA@suse.de> <4BCED6C6.4070509@web.de> <4BCF4FE2.50401@mail.berlios.de> <4BCFF490.6060407@web.de> <4BD7414F.8020106@mail.berlios.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jun Koi Cc: qemu-devel@nongnu.org Am 28.04.2010 01:50, schrieb Jun Koi: > On Wed, Apr 28, 2010 at 4:55 AM, Stefan Weil wrote: >> Typical use case: execution trace of some code which is >> run after OS boot with an explicit trigger. >> >> This can be loading of a linux kernel module, a user space >> application or kernel code which handles a rare event. >> >> I can enable logging and single stepping before that code >> starts. There is no need to re-translate existing TBs: >> they are faster than TBs with only single steps, so only >> the execution of the new code is slow, and only new TBs >> will appear in qemu.log which is exactly what I want. >> >> Typically, I use single stepping like this to examine a >> problem with QEMU's emulation or code generation. Two examples: >> some years ago aptitude crashed in mips emulation (fpu emulation >> problem), and now I use it to examine differences between >> native TCG and TCI (tiny code interpreter). > > What is that TCI??? > > Thanks, > J TCI stands for Tiny Code Interpreter and is a new way to run QEMU's Tiny Code. Links with more information: http://lists.gnu.org/archive/html/qemu-devel/2009-09/msg01710.html http://repo.or.cz/w/qemu/ar7.git/blob_plain/master:/tcg/bytecode/README Regards, Stefan