( psnap ps.Snapshotter, hsnap handle.Snapshotter, config *config.Config, compiler *config.RulesCompileResult, )
| 41 | } |
| 42 | |
| 43 | func 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 | |
| 52 | func (s *EventSourceControl) Open(config *config.Config) error { |
| 53 | return s.evs.Open(config) |
no test coverage detected