public DataCollector(Config config) { Group = new ProcessGroup(); SwitchContexts = new SwitchContextGroup(); ETWCollector = new ETWCollector(); ETWCollector.SetProcessFilter(config.ProcessFilters); ETWCollector.ProcessEvent += ETWCollector_ProcessEvent; ETWCollector.SwitchContextEvent += ETWCollector_SwitchContextEvent; DiagCollector = new DiagnosticsCollector(); }
public void Stop() { ETWCollector.Stop(); }
public void Start() { ETWCollector.Start(); }