EventSourceControl abstracts away the management of event sources. Presently, system events are captured by ETW infra, in the future additional instrumentation engines can be introduced and the event source will automatically decide which is the best engine to operate with. As an example, eBPF instr
| 37 | // of telemetry than the ETW subsystem. In this scenario, the event source |
| 38 | // control will bootstrap the instrumentation engine based on eBPF. |
| 39 | type EventSourceControl struct { |
| 40 | evs source.EventSource |
| 41 | } |
| 42 | |
| 43 | func NewEventSourceControl( |
| 44 | psnap ps.Snapshotter, |
nothing calls this directly
no outgoing calls
no test coverage detected