Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-10-12 20:56:46 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-10-12 20:56:46 +0300
commit8ca4bc761d572ccb16983c143cf2fd49e815e31f (patch)
tree9962ff7e445ecd78d2f64d7dcf2d7dd6cf92bdc6 /public
parenta235dca7ea64e9c2092eb5ba87ad205e4ffe6c22 (diff)
s_symbolTid is only available if crash handler is there.
Diffstat (limited to 'public')
-rw-r--r--public/client/TracyProfiler.cpp2
1 files changed, 1 insertions, 1 deletions
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