Stefan Hajnoczi writes: > On Tue, May 8, 2012 at 3:38 PM, Lluís Vilanova <vilan...@ac.upc.edu> wrote: >> Provides a generic event state description and a more detailed event control >> and >> query interface. >> >> Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu> >> --- [...] > What is the point of sstate vs dstate? It seems the dynamic state is > what can be toggled and sstate is the "disable" keyword. Why have > sstate since there is already a macro?
'sstate' is there just in case you query the tracing state of an event through the 'TraceEvent' structure instead of through the corresponding macro. 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