From 8ca4bc761d572ccb16983c143cf2fd49e815e31f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 12 Oct 2022 19:56:46 +0200 Subject: [PATCH] s_symbolTid is only available if crash handler is there. --- public/client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index cb5a0c17..6d2603a2 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -3257,7 +3257,7 @@ void Profiler::HandleSymbolQueueItem( const SymbolQueueItem& si ) void Profiler::SymbolWorker() { -#ifdef __linux__ +#ifdef __linux__ && !defined TRACY_NO_CRASH_HANDLER s_symbolTid = syscall( SYS_gettid ); #endif