class TraceObserver
Defined at line 27 of file ../../zircon/system/ulib/trace/include/lib/trace/observer.h
Receives notifications when the trace state or set of enabled categories changes.
Public Methods
void TraceObserver ()
Initializes the trace observer.
Defined at line 12 of file ../../zircon/system/ulib/trace/observer.cc
void ~TraceObserver ()
Stops watching for state changes and destroys the observer.
Defined at line 14 of file ../../zircon/system/ulib/trace/observer.cc
void Start (async_dispatcher_t * dispatcher, fit::closure callback)
Starts watching for state changes.
|async| the asynchronous dispatcher, must not be null.
|callback| the callback which is invoked whenever a state change is observed.
Defined at line 16 of file ../../zircon/system/ulib/trace/observer.cc
void Stop ()
Stops watching for state changes.
Defined at line 32 of file ../../zircon/system/ulib/trace/observer.cc