From 8797bb0150920743050a1eb00af417c535e7ff91 Mon Sep 17 00:00:00 2001 From: Rakesh Roy <137397847+rakesroy@users.noreply.github.com> Date: Wed, 5 Nov 2025 22:18:02 +0530 Subject: [PATCH] Revert "SWDEV-562996 - Build fix: Ubertrace callback calling convention mismatch on x86 (#1587)" (#1717) This reverts commit 8d31383dfe03a2aacbbdd4e6f8a038c5a689eb4e. Reason for revert: It is breaking TheRock build on Windows --- 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 d6413efbd0..d0153d1448 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 PAL_STDCALL UberTraceStateChangeCallback(const GpuUtil::TraceSession& pTraceSession, - GpuUtil::TraceSessionState newState, - void* pPrivateData) +static void UberTraceStateChangeCallback(const GpuUtil::TraceSession& pTraceSession, + GpuUtil::TraceSessionState newState, + void* pPrivateData) { UberTraceCaptureMgr* mgr = static_cast(pPrivateData);