Received: from [140.186.70.92] (port=47815 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFUjL-0002k5-5u for qemu-devel@nongnu.org; Mon, 08 Nov 2010 11:38:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFUjK-0002Yb-09 for qemu-devel@nongnu.org; Mon, 08 Nov 2010 11:38:03 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:53796 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PFUjJ-0002YK-Ir for qemu-devel@nongnu.org; Mon, 08 Nov 2010 11:38:01 -0500 From: xscript@gmx.net (=?utf-8?Q?Llu=C3=ADs?=) Subject: Re: [Qemu-devel] [RFC] tracing: consistent usage of "disable" in "trace-events" References: <8762w7512w.fsf@ginnungagap.bsc.es> <20101108152556.GU26714@redhat.com> <877hgn3j4x.fsf@ginnungagap.bsc.es> <20101108160212.GX26714@redhat.com> Date: Mon, 08 Nov 2010 17:38:37 +0100 In-Reply-To: <20101108160212.GX26714@redhat.com> (Daniel P. Berrange's message of "Mon, 8 Nov 2010 16:02:13 +0000") Message-ID: <8739rb3h4i.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Daniel P Berrange writes: > On Mon, Nov 08, 2010 at 04:55:10PM +0100, Llu=C3=ADs wrote: >> In any case, there might appear other events that could have performance >> implications, although I understand the ease of usage of having all >> trace events available by default. > Ok, I agree that if we have tracepoints in the kind of places in TCG > you describe, then this could have measurable performance impact. >> That's why I would rather declare all trace-events without the "disable" >> keyword, and leave it only on those events that are known to have a high >> frequency, as no backend should have so poor performance as to force >> events to "disappear". > This sounds like a reasonable plan to me.=20 Then I'll cook a simple patch for that later. 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