qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC][PATCH 0/6] trace-state: make the behaviour of "disabl


From: Lluís
Subject: [Qemu-devel] [RFC][PATCH 0/6] trace-state: make the behaviour of "disable" consistent across all backends
Date: Mon, 04 Apr 2011 23:49:00 +0200
User-agent: StGit/0.15

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 default, 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=<file>" argument to let the user select which events must be enabled from
the very beginning.

Signed-off-by: Lluís Vilanova <address@hidden>
---

Lluís Vilanova (6):
      trace: [ust] fix generation of 'trace.c' on events without args
      trace: generalize the "property" concept in the trace-events file
      trace-state: always use the "nop" backend on events with the "disable" 
keyword
      trace-state: [simple] disable all trace points by default
      trace-state: [simple] add "-trace events" argument to control initial 
state
      trace: enable all events


 docs/tracing.txt  |   12 +-
 qemu-config.c     |    5 +
 qemu-options.hx   |   18 ++
 scripts/tracetool |   88 +++++-------
 trace-events      |  385 ++++++++++++++++++++++++++---------------------------
 vl.c              |   94 ++++++++-----
 6 files changed, 313 insertions(+), 289 deletions(-)




reply via email to

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