Received: from [140.186.70.92] (port=52018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGI4Z-0007Oh-Al for qemu-devel@nongnu.org; Wed, 10 Nov 2010 16:19:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGI4X-0003np-N1 for qemu-devel@nongnu.org; Wed, 10 Nov 2010 16:19:15 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:51732 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PGI4X-0003nb-8r for qemu-devel@nongnu.org; Wed, 10 Nov 2010 16:19:13 -0500 From: xscript@gmx.net (=?utf-8?Q?Llu=C3=ADs?=) Subject: Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default References: <20101109140818.29831.83592.stgit@ginnungagap.bsc.es> <20101109140848.29831.72280.stgit@ginnungagap.bsc.es> <87tyjpvz3m.fsf@ginnungagap.bsc.es> <87eiatuf2p.fsf@ginnungagap.bsc.es> Date: Wed, 10 Nov 2010 22:20:27 +0100 In-Reply-To: (Blue Swirl's message of "Wed, 10 Nov 2010 20:23:32 +0000") Message-ID: <8739r8vpt0.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 Blue Swirl writes: > On Wed, Nov 10, 2010 at 7:57 PM, Llu=C3=ADs wrote: >> Blue Swirl writes: >>=20 >>> On Wed, Nov 10, 2010 at 5:59 PM, Llu=C3=ADs wrote: >>>> So, my patch is just a matter of having all events available _only_ wh= en >>>> you use a backend other than "nop". >>=20 >>> Then the default for simpletrace (and dtrace?) should also be disabled >>> initial state. If you have 1000 tracepoints automatically enabled at >>> start (with simpletrace, not nop), disabling all of them if you are >>> only interested in a few of them is difficult. >>=20 >> That's how it is. The patch sets always ".state=3D0" in "simple", and >> "dtrace" just does not do anything unless you plug something into the >> probe (similarly with "ust"). > Oh, I missed .state=3D0 part, it was also not mentioned in the > description. Then these changes should be OK. My fault. If these are to be merged I can cook up a new series with a more verbose description. 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