From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b35fh-00023e-Rv for qemu-devel@nongnu.org; Wed, 18 May 2016 13:54:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b35fg-0003Wk-Sd for qemu-devel@nongnu.org; Wed, 18 May 2016 13:54:13 -0400 Sender: Richard Henderson References: <146356846293.898.1638185578856249296.stgit@fimbulvetr.bsc.es> <146356846834.898.6742213749357910213.stgit@fimbulvetr.bsc.es> From: Richard Henderson Message-ID: Date: Wed, 18 May 2016 10:54:01 -0700 MIME-Version: 1.0 In-Reply-To: <146356846834.898.6742213749357910213.stgit@fimbulvetr.bsc.es> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3 1/2] exec: [tcg] Track which vCPU is performing translation and execution List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Llu=c3=ads_Vilanova?= , qemu-devel@nongnu.org Cc: Peter Maydell , Stefan Hajnoczi , "Edgar E. Iglesias" , Paolo Bonzini , Eduardo Habkost , Michael Walle , Aurelien Jarno , Leon Alrae , Anthony Green , Jia Liu , Alexander Graf , Blue Swirl , Mark Cave-Ayland , Bastian Koppelmann , Guan Xuetao , Max Filippov , Peter Crosthwaite , "open list:ARM" , "open list:PowerPC" On 05/18/2016 03:47 AM, Lluís Vilanova wrote: > Information is tracked inside the TCGContext structure, and later used > by tracing events with the 'tcg' and 'vcpu' properties. > > The 'cpu' field is used to check tracing of translation-time > events ("*_trans"). The 'tcg_env' field is used to pass it to > execution-time events ("*_exec"). > > Signed-off-by: Lluís Vilanova > Reviewed-by: Peter Maydell > --- Reviewed-by: Richard Henderson r~