From 60cd210dac7e7a7830f56defcdc42e8a2c3cc57e Mon Sep 17 00:00:00 2001 From: pcritchl-amd Date: Wed, 12 Nov 2025 10:47:24 -0800 Subject: [PATCH] Reapply "SWDEV-562996 - Build fix: Ubertrace callback calling convention mismatch on x86 (#1587)" (#1717) (#1754) --- projects/clr/rocclr/device/pal/palubercapturemgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/clr/rocclr/device/pal/palubercapturemgr.cpp b/projects/clr/rocclr/device/pal/palubercapturemgr.cpp index 8d2431ed60..ce35e8a230 100644 --- a/projects/clr/rocclr/device/pal/palubercapturemgr.cpp +++ b/projects/clr/rocclr/device/pal/palubercapturemgr.cpp @@ -57,9 +57,9 @@ UberTraceCaptureMgr* UberTraceCaptureMgr::Create(Pal::IPlatform* platform, const return mgr; } -static void UberTraceStateChangeCallback(const GpuUtil::TraceSession& pTraceSession, - GpuUtil::TraceSessionState newState, - void* pPrivateData) +static void PAL_STDCALL UberTraceStateChangeCallback(const GpuUtil::TraceSession& pTraceSession, + GpuUtil::TraceSessionState newState, + void* pPrivateData) { UberTraceCaptureMgr* mgr = static_cast(pPrivateData);