qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 0/2] trace: Trace control commands


From: Lluís Vilanova
Subject: [Qemu-devel] [PATCH v4 0/2] trace: Trace control commands
Date: Mon, 25 Aug 2014 13:19:51 +0200
User-agent: StGit/0.17.1-dirty

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 <address@hidden>
---

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: address@hidden
Cc: Michael Roth <address@hidden>
Cc: Markus Armbruster <address@hidden>
Cc: Stefan Hajnoczi <address@hidden>
Cc: Luiz Capitulino <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]