MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Filter

Method Filter

ETLTrimmer/main.cpp:69–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67{
68public:
69 Filter()
70 {
71 // there are events from providers that are not explicitly enabled / filtered by presentmon
72 // but that are nonetheless required for PresentMon tracking operations
73 // they are likely enabled by default when doing ETW tracing
74 // we must add them manually here instead of adding them by listening to the FilteredProvider
75
76 // NT_Process
77 //
78 ProviderEnabled(NT_Process::GUID, 0, 0, EnableAllLevels, EVENT_CONTROL_CODE_ENABLE_PROVIDER);
79
80 // Microsoft_Windows_EventMetadata::GUID
81 //
82 ProviderEnabled(Microsoft_Windows_EventMetadata::GUID, 0, 0, EnableAllLevels, EVENT_CONTROL_CODE_ENABLE_PROVIDER);
83 }
84 // Inherited via IFilterBuildListener
85 void EventAdded(uint16_t id) override
86 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected