From be78dc4bfbc4a57f11aae5e47de1595ba96086f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Gr=C3=A9goire?= Date: Sun, 1 Feb 2026 12:36:56 +0100 Subject: [PATCH] Tests should work under TRACY_MANUAL_LIFETIME. This calls tracy::StartupProfiler(); before any other tracy call (in static init) if TRACY_MANUAL_LIFETIME is set --- test/test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test.cpp b/test/test.cpp index bfa33b4a..2b811b7b 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -25,6 +25,9 @@ struct static_init_test_t { static_init_test_t() { +#ifdef TRACY_MANUAL_LIFETIME + tracy::StartupProfiler(); +#endif ZoneScoped; ZoneTextF( "Static %s", "init test" ); TracyLogString( tracy::MessageSeverity::Info, 0, TRACY_CALLSTACK, "Static init" );