qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC] tracing: consistent usage of "disable" in "trace-even


From: Lluís
Subject: [Qemu-devel] [RFC] tracing: consistent usage of "disable" in "trace-events"
Date: Mon, 08 Nov 2010 15:42:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

On the current implementation, the "disable" keyword in "trace-events"
has different semantics, depending on the backend:

* nop    : ignored (not a problem)
* simple : enables tracing, but sets dynamic state to disable
* ust    : disables tracing (uses nop backend)
* dtrace : same as simple

Would it be possible to just use nop whenever the event is disabled in
trace-events? If you agree I can cook the patch, as it's pretty simple.


Lluis

-- 
 "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



reply via email to

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