https://bugs.winehq.org/show_bug.cgi?id=43161 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Summary|PresentMon fails to run |PresentMon v1.x needs | |advapi32.OpenTrace | |semi-stub/implementation Keywords| |source --- Comment #2 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, refining some fields. app source code: https://github.com/GameTechDev/PresentMon https://github.com/GameTechDev/PresentMon/blob/master/source/TraceSession.cp... --- snip --- ... // Open trace EVENT_TRACE_LOGFILEA loggerInfo = {}; loggerInfo.ProcessTraceMode = PROCESS_TRACE_MODE_EVENT_RECORD | PROCESS_TRACE_MODE_RAW_TIMESTAMP; loggerInfo.BufferCallback = BufferCallback; loggerInfo.EventRecordCallback = EventRecordCallback; loggerInfo.Context = session; if (realtime) { loggerInfo.LoggerName = (LPSTR) name; loggerInfo.ProcessTraceMode |= PROCESS_TRACE_MODE_REAL_TIME; } else { loggerInfo.LogFileName = (LPSTR) name; } session->traceHandle_ = OpenTraceA(&loggerInfo); if (session->traceHandle_ == INVALID_PROCESSTRACE_HANDLE) { fprintf(stderr, "error: failed to open trace"); auto lastError = GetLastError(); switch (lastError) { ... --- snip --- https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/advapi32/eventlog.c#l... Not sure what the purpose of this ticket is... Even with that API function implemented the app won't be useful for a long time unless Wine actually implements Event Tracing for Windows (ETW) *and* various components (DXGI, D3D9, optionally DXGK, Win32k, DWM) actually emit trace events. Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.