From 8d31383dfe03a2aacbbdd4e6f8a038c5a689eb4e Mon Sep 17 00:00:00 2001 From: pcritchl-amd Date: Tue, 4 Nov 2025 21:07:45 -0800 Subject: [PATCH] SWDEV-562996 - Build fix: Ubertrace callback calling convention mismatch on x86 (#1587) Co-authored-by: Rakesh Roy <137397847+rakesroy@users.noreply.github.com> --- 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 d0153d1448..d6413efbd0 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);