Received: from [140.186.70.92] (port=34578 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFSuj-0006B0-58 for qemu-devel@nongnu.org; Mon, 08 Nov 2010 09:41:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFSuh-0002U0-Uz for qemu-devel@nongnu.org; Mon, 08 Nov 2010 09:41:40 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:41993 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PFSuh-0002TB-JJ for qemu-devel@nongnu.org; Mon, 08 Nov 2010 09:41:39 -0500 From: xscript@gmx.net (=?utf-8?Q?Llu=C3=ADs?=) Date: Mon, 08 Nov 2010 15:42:15 +0100 Message-ID: <8762w7512w.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [RFC] tracing: consistent usage of "disable" in "trace-events" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On the current implementation, the "disable" keyword in "trace-events" has different semantics, depending on the backend: * nop : ignored (not a problem) * simple : enables tracing, but sets dynamic state to disable * ust : disables tracing (uses nop backend) * dtrace : same as simple Would it be possible to just use nop whenever the event is disabled in trace-events? If you agree I can cook the patch, as it's pretty simple. Lluis -- "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