qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] trace: Simplify late initialization
@ 2016-08-12 15:33 Lluís Vilanova
  2016-08-12 15:33 ` [Qemu-devel] [PATCH v4 1/2] trace: Remove 'trace_events_dstate_init' Lluís Vilanova
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Lluís Vilanova @ 2016-08-12 15:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, 'Daniel P. Berrange', Stefan Hajnoczi

Removes the need for 'trace_events_dstate_init' and does a little cleanup in how
state values are modified (to avoid implicit conversions from bool).

Changes in v2
=============

* Fix late-init state value [Daniel P. Berrange].

Changes in v3
=============

* Avoid implicit conversions from bool to integers (second patch) [Daniel
  P. Berrange].

Changes in v4
=============

* Correctly implement idempotent state changes.
* Clarify when state changes are idempotent [Daniel P. Berrange].

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

Lluís Vilanova (2):
      trace: Remove 'trace_events_dstate_init'
      trace: Avoid implicit bool->integer conversions


 stubs/trace-control.c  |   22 ++++++++++++++++++++--
 trace/control-target.c |   34 ++++++++++++++++++++++++++++++++--
 trace/control.c        |   23 ++++++++++-------------
 trace/control.h        |    3 +++
 trace/event-internal.h |    1 +
 5 files changed, 66 insertions(+), 17 deletions(-)


To: qemu-devel@nongnu.org
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: 'Daniel P. Berrange' <berrange@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>

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

end of thread, other threads:[~2016-08-18 13:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-12 15:33 [Qemu-devel] [PATCH v4 0/2] trace: Simplify late initialization Lluís Vilanova
2016-08-12 15:33 ` [Qemu-devel] [PATCH v4 1/2] trace: Remove 'trace_events_dstate_init' Lluís Vilanova
2016-08-18  8:03   ` Daniel P. Berrange
2016-08-12 15:33 ` [Qemu-devel] [PATCH v4 2/2] trace: Avoid implicit bool->integer conversions Lluís Vilanova
2016-08-18  8:06   ` Daniel P. Berrange
2016-08-17 15:41 ` [Qemu-devel] [PATCH v4 0/2] trace: Simplify late initialization Stefan Hajnoczi
2016-08-18 10:59 ` Stefan Hajnoczi
2016-08-18 13:07 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).