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

Method Open

pkg/source/source.go:39–39  ·  view source on GitHub ↗

Open starts the instrumentation machinery. It receives the global configuration that the event source can utilize to influence how the events are captured. Before opening the event source, it is important to register any event listener that acts on behalf of the received event. Likewise, if any filt

(config *config.Config)

Source from the content-addressed store, hash-verified

37 // received event. Likewise, if any filter must be set to drop unwanted
38 // signals, it needs to be set before the event source is opened.
39 Open(config *config.Config) error
40 // Close performs event source shutdown. Once event source is closed,
41 // any buffered or pending events are no longer dispatched to event
42 // listeners.

Callers 15

TestLiveCaptureFunction · 0.95
TestQueryNameFileHandleFunction · 0.65
TestIsCatalogSignedFunction · 0.65
OpenMethod · 0.65
ParseCertificateMethod · 0.65
NewReaderFunction · 0.65
VerifySignatureMethod · 0.65
MatchHashMethod · 0.65
ParseCertificateMethod · 0.65
CheckMethod · 0.65
VerifyCatalogMethod · 0.65

Implementers 2

EventSourceinternal/etw/source.go
EventSourceControlinternal/bootstrap/source.go

Calls

no outgoing calls

Tested by 4

TestLiveCaptureFunction · 0.76
TestQueryNameFileHandleFunction · 0.52
TestIsCatalogSignedFunction · 0.52
TestEventSourceAllEventsFunction · 0.52