0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00

Merge pull request #1234 from siliceum/fix/etw-vsync

VSyncDPC events do not have the Keyword::DxgKrnlPresent bit set, so using it as MatchAllKeyword excluded it
This commit is contained in:
Bartosz Taudul
2025-12-17 18:07:42 +01:00
committed by GitHub

View File

@@ -477,7 +477,8 @@ static ULONG EnableVSyncMonitoring( Session& session )
MSFTReserved62 = 0x4000'0000'0000'0000 // winmeta.h: WINEVENT_KEYWORD_RESERVED_62
// (Microsoft-Windows-DxgKrnl/Performance, according to logman)
};
ULONGLONG MatchAnyKeyword = Keyword::MSFTReserved62 | Keyword::DxgKrnlPresent | Keyword::DxgKrnlBase;
// DxgKrnlPresent bit was added in Win11, but we do not want to break Win10, so do not put it in MatchAllKeyword
ULONGLONG MatchAnyKeyword = Keyword::MSFTReserved62 /*| Keyword::DxgKrnlPresent*/ | Keyword::DxgKrnlBase;
ULONGLONG MatchAllKeyword = MatchAnyKeyword;
EVENT_FILTER_EVENT_ID fe = {};