Is there any way to filter ETW Event callbacks?
I am getting all of the events I need by starting a trace with a keyword; unfortunately some keywords enable many many event ids (for example, FILEIO keyword for Microsoft-Windows-Kernel-File provider gives me all IO events, when I just need file close). I can filter these within the callback but I'd rather not even receive the callback for certain event IDs. I've tried the PEVENT_FILTER_DESCRIPTOR with EnableTraceEx2 but without any luck (filters seem to have no effect).
- Do those filters work on Window 7?
- Are there other ways to filter callbacks?
Thanks!