IsStarted indicates if the trace is started successfully.
()
| 360 | |
| 361 | // IsStarted indicates if the trace is started successfully. |
| 362 | func (t *Trace) IsStarted() bool { return t.startHandle.IsValid() } |
| 363 | |
| 364 | // IsRunning determines if the current trace is running. |
| 365 | func (t *Trace) IsRunning() bool { return etw.ControlTrace(0, t.Name, t.GUID, etw.Query) == nil } |