MCPcopy Index your code
hub / github.com/rabbitstack/fibratus / EventSource

Struct EventSource

internal/etw/source.go:74–93  ·  view source on GitHub ↗

EventSource is the core component responsible for starting ETW tracing sessions and setting up event consumers.

Source from the content-addressed store, hash-verified

72// starting ETW tracing sessions and setting up event
73// consumers.
74type 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.
96func NewEventSource(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected