All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] trace: Trace control commands
@ 2014-08-25 11:19 Lluís Vilanova
  2014-08-25 11:19 ` [Qemu-devel] [PATCH v4 1/2] trace: [qmp] Add commands to query and control event tracing state Lluís Vilanova
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lluís Vilanova @ 2014-08-25 11:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: Markus Armbruster, Stefan Hajnoczi, Luiz Capitulino

Adds QAPI/QMP commands to control tracing events, and reimplements some of the
related HMP commands on top.

NOTE: The "trace-event-set-state" command uses a bool 'enable' argument instead
      of an enum 'state'. I'm still not sure if an enum is better than the two
      separate booleans.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---

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ís Vilanova (2):
      trace: [qmp] Add commands to query and control event tracing state
      trace: [hmp] Reimplement "trace-event" and "info trace-events" using 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 <mdroth@linux.vnet.ibm.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Luiz Capitulino <lcapitulino@redhat.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-24 14:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-25 11:19 [Qemu-devel] [PATCH v4 0/2] trace: Trace control commands Lluís Vilanova
2014-08-25 11:19 ` [Qemu-devel] [PATCH v4 1/2] trace: [qmp] Add commands to query and control event tracing state Lluís Vilanova
2014-09-24 14:45   ` Eric Blake
2014-08-25 11:20 ` [Qemu-devel] [PATCH v4 2/2] trace: [hmp] Reimplement "trace-event" and "info trace-events" using QMP Lluís Vilanova
2014-09-08 20:03 ` [Qemu-devel] [PATCH v4 0/2] trace: Trace control commands Lluís Vilanova
2014-09-08 20:08   ` Luiz Capitulino
2014-09-24 13:33 ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.