From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qyjja-0000D2-4d for qemu-devel@nongnu.org; Wed, 31 Aug 2011 08:17:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyjjV-0004h0-Ut for qemu-devel@nongnu.org; Wed, 31 Aug 2011 08:17:34 -0400 Received: from mail-gy0-f173.google.com ([209.85.160.173]:38644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyjjV-0004gm-RU for qemu-devel@nongnu.org; Wed, 31 Aug 2011 08:17:29 -0400 Received: by gyd12 with SMTP id 12so532018gyd.4 for ; Wed, 31 Aug 2011 05:17:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20110825191731.1413.26838.stgit@ginnungagap.bsc.es> References: <20110825191731.1413.26838.stgit@ginnungagap.bsc.es> Date: Wed, 31 Aug 2011 13:17:29 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v7 00/13] trace-state: make the behaviour of "disable" consistent across all backends List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Llu=EDs?= Cc: qemu-devel@nongnu.org, chouteau@adacore.com On Thu, Aug 25, 2011 at 8:17 PM, Llu=EDs wrote: > This patch defines the "disable" trace event state to always use the "nop= " > backend. > > As a side-effect, all events are now enabled (without "disable") by defau= lt, as > all backends (except "stderr") have programmatic support for dynamically > (de)activating each trace event. > > In order to make this true, the "simple" backend now has a "-trace > events=3D" argument to let the user select which events must be ena= bled from > the very beginning. > > NOTES: > * Parsing of -trace arguments is not done in the OS-specific frontends. > > Signed-off-by: Llu=EDs Vilanova I have posted a few comments and build-tested the simple, stderr, and dtrace backends. This is looking good, just a few small fixes. Stefan