From 0558301e49cd09b63bf02483698fe3438fe40d65 Mon Sep 17 00:00:00 2001 From: nyanpasu64 Date: Sat, 1 Aug 2026 18:15:27 -0700 Subject: [PATCH] Address LLM review comments --- public/client/TracyProfiler.cpp | 8 ++++---- public/tracy/TracyC.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index 077bc2cd..68c0a181 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -4749,10 +4749,10 @@ TRACY_API void ___tracy_emit_zone_text_fmt( TracyCZoneCtx ctx, const char* fmt, TracyQueueCommitC( zoneValidationThread ); } #endif - TracyQueuePrepare( tracy::QueueType::ZoneText ); + TracyQueuePrepareC( tracy::QueueType::ZoneText ); tracy::MemWrite( &item->zoneTextFat.text, (uint64_t)ptr ); tracy::MemWrite( &item->zoneTextFat.size, (uint16_t)size ); - TracyQueueCommit( zoneTextFatThread ); + TracyQueueCommitC( zoneTextFatThread ); } TRACY_API void ___tracy_emit_zone_name( TracyCZoneCtx ctx, const char* txt, size_t size ) @@ -4798,10 +4798,10 @@ TRACY_API void ___tracy_emit_zone_name_fmt( TracyCZoneCtx ctx, const char* fmt, TracyQueueCommitC( zoneValidationThread ); } #endif - TracyQueuePrepare( tracy::QueueType::ZoneName ); + TracyQueuePrepareC( tracy::QueueType::ZoneName ); tracy::MemWrite( &item->zoneTextFat.text, (uint64_t)ptr ); tracy::MemWrite( &item->zoneTextFat.size, (uint16_t)size ); - TracyQueueCommit( zoneTextFatThread ); + TracyQueueCommitC( zoneTextFatThread ); } TRACY_API void ___tracy_emit_zone_color( TracyCZoneCtx ctx, uint32_t color ) { diff --git a/public/tracy/TracyC.h b/public/tracy/TracyC.h index e211395f..c7962b21 100644 --- a/public/tracy/TracyC.h +++ b/public/tracy/TracyC.h @@ -58,7 +58,9 @@ typedef const void* TracyCSharedLockCtx; #define TracyCZoneNC(c,x,y,z) #define TracyCZoneEnd(c) #define TracyCZoneText(c,x,y) +#define TracyCZoneTextF(c,x,...) #define TracyCZoneName(c,x,y) +#define TracyCZoneNameF(c,x,...) #define TracyCZoneColor(c,x) #define TracyCZoneValue(c,x)