From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55804 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGHD0-0003Yd-Io for qemu-devel@nongnu.org; Wed, 10 Nov 2010 15:23:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGHCz-0005zH-Ab for qemu-devel@nongnu.org; Wed, 10 Nov 2010 15:23:54 -0500 Received: from mail-qy0-f173.google.com ([209.85.216.173]:46714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGHCz-0005zB-6J for qemu-devel@nongnu.org; Wed, 10 Nov 2010 15:23:53 -0500 Received: by qyl33 with SMTP id 33so3628421qyl.4 for ; Wed, 10 Nov 2010 12:23:52 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <87eiatuf2p.fsf@ginnungagap.bsc.es> 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> From: Blue Swirl Date: Wed, 10 Nov 2010 20:23:32 +0000 Message-ID: Subject: Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default 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 On Wed, Nov 10, 2010 at 7:57 PM, Llu=C3=ADs wrote: > Blue Swirl writes: > >> 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_ whe= n >>> you use a backend other than "nop". > >> 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. > > 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.