EventSource is the core component responsible for starting ETW tracing sessions and setting up event consumers.
| 72 | // starting ETW tracing sessions and setting up event |
| 73 | // consumers. |
| 74 | type EventSource struct { |
| 75 | r *config.RulesCompileResult |
| 76 | traces []*Trace |
| 77 | consumers []*Consumer |
| 78 | processors processors.Chain |
| 79 | |
| 80 | errs chan error |
| 81 | evts chan *event.Event |
| 82 | sequencer *event.Sequencer |
| 83 | config *config.Config |
| 84 | stop chan struct{} |
| 85 | |
| 86 | psnap ps.Snapshotter |
| 87 | hsnap handle.Snapshotter |
| 88 | |
| 89 | filter filter.Filter |
| 90 | listeners []event.Listener |
| 91 | |
| 92 | isClosed bool |
| 93 | } |
| 94 | |
| 95 | // NewEventSource creates the new ETW event source. |
| 96 | func NewEventSource( |
nothing calls this directly
no outgoing calls
no test coverage detected