MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / NewEventSourceControl

Function NewEventSourceControl

internal/bootstrap/source.go:43–50  ·  view source on GitHub ↗
(
	psnap ps.Snapshotter,
	hsnap handle.Snapshotter,
	config *config.Config,
	compiler *config.RulesCompileResult,
)

Source from the content-addressed store, hash-verified

41}
42
43func NewEventSourceControl(
44 psnap ps.Snapshotter,
45 hsnap handle.Snapshotter,
46 config *config.Config,
47 compiler *config.RulesCompileResult,
48) *EventSourceControl {
49 return &EventSourceControl{evs: etw.NewEventSource(psnap, hsnap, config, compiler)}
50}
51
52func (s *EventSourceControl) Open(config *config.Config) error {
53 return s.evs.Open(config)

Callers 1

NewAppFunction · 0.85

Calls 1

NewEventSourceFunction · 0.92

Tested by

no test coverage detected