Received: from eggs.gnu.org ([208.118.235.92]:50138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se2Xn-0002Zf-0B for qemu-devel@nongnu.org; Mon, 11 Jun 2012 07:12:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se2Xg-0002l5-Pp for qemu-devel@nongnu.org; Mon, 11 Jun 2012 07:12:22 -0400 Received: from roura.ac.upc.edu ([147.83.33.10]:36223 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se2Xg-0002kz-Ee for qemu-devel@nongnu.org; Mon, 11 Jun 2012 07:12:16 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <20120508143813.18271.15731.stgit@fimbulvetr.bsc.es> Date: Mon, 11 Jun 2012 14:12:12 +0300 In-Reply-To: (Stefan Hajnoczi's message of "Mon, 11 Jun 2012 10:53:28 +0100") Message-ID: <87oboq2jcj.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4 0/7] trace: Generic event state description List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org Stefan Hajnoczi writes: > On Tue, May 8, 2012 at 3:38 PM, Llu=C3=ADs Vilanova = wrote: >> Provides a generic event state description and a more detailed event con= trol and >> query interface. >>=20 >> Signed-off-by: Llu=C3=ADs Vilanova >> --- [...] > What is the point of sstate vs dstate? It seems the dynamic state is > what can be toggled and sstate is the "disable" keyword. Why have > sstate since there is already a macro? 'sstate' is there just in case you query the tracing state of an event thro= ugh the 'TraceEvent' structure instead of through the corresponding macro. Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth