Received: from eggs.gnu.org ([2001:4830:134:3::10]:40674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR5AM-0007IO-NC for qemu-devel@nongnu.org; Mon, 08 Sep 2014 16:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XR5AC-0006kg-IP for qemu-devel@nongnu.org; Mon, 08 Sep 2014 16:03:58 -0400 Received: from roura.ac.upc.edu ([147.83.33.10]:48676 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR5AC-0006iv-7m for qemu-devel@nongnu.org; Mon, 08 Sep 2014 16:03:48 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <20140825111951.31112.50251.stgit@fimbulvetr.bsc.es> Date: Mon, 08 Sep 2014 15:03:41 -0500 In-Reply-To: <20140825111951.31112.50251.stgit@fimbulvetr.bsc.es> (=?utf-8?Q?=22Llu=C3=ADs?= Vilanova"'s message of "Mon, 25 Aug 2014 13:19:51 +0200") Message-ID: <877g1dzxpe.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4 0/2] trace: Trace control commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Markus Armbruster , Stefan Hajnoczi , Luiz Capitulino Llu=C3=ADs Vilanova writes: > Adds QAPI/QMP commands to control tracing events, and reimplements some o= f the > related HMP commands on top. Ping. Thanks, Lluis > NOTE: The "trace-event-set-state" command uses a bool 'enable' argument i= nstead > of an enum 'state'. I'm still not sure if an enum is better than th= e two > separate booleans. > Signed-off-by: Llu=C3=ADs Vilanova > --- > Changes in v4: > * Split QAPI/QMP and HMP changes into separate patches. > * Add copyright information in QAPI file (Eric Blake). > * Replace event state booleans with an enum (Eric Blake). > * Document pattern type for argument "name" (Eric Blake). > * Other documentation improvements (Markus Armbruster). > * Change "keepgoing" to "ignore-unavailable" (Markus Armbruster). > * Add examples in QMP command definition file (Eric Blake). > * Propagate QMP errors to HMP (Markus Armbruster, Stefan Hajnoczi). > * Remove trailing newlines when using error_setg (Stefan Hajnoczi). > * Avoid multiple invocations of error_setg (Stefan Hajnoczi). > * Various cosmetic changes (Markus Armbruster). > Llu=C3=ADs Vilanova (2): > trace: [qmp] Add commands to query and control event tracing state > trace: [hmp] Reimplement "trace-event" and "info trace-events" usin= g QMP > monitor.c | 27 ++++++++++-------- > qapi-schema.json | 3 ++ > qapi/trace.json | 65 ++++++++++++++++++++++++++++++++++++++++++++ > qmp-commands.hx | 35 ++++++++++++++++++++++++ > trace/Makefile.objs | 1 + > trace/control.c | 13 --------- > trace/control.h | 7 ----- > trace/qmp.c | 75 +++++++++++++++++++++++++++++++++++++++++++++= ++++++ > 8 files changed, 193 insertions(+), 33 deletions(-) > create mode 100644 qapi/trace.json > create mode 100644 trace/qmp.c > To: qemu-devel@nongnu.org > Cc: Michael Roth > Cc: Markus Armbruster > Cc: Stefan Hajnoczi > Cc: Luiz Capitulino --=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