diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-10-12 20:56:46 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-10-12 20:56:46 +0300 |
commit | 8ca4bc761d572ccb16983c143cf2fd49e815e31f (patch) | |
tree | 9962ff7e445ecd78d2f64d7dcf2d7dd6cf92bdc6 /public | |
parent | a235dca7ea64e9c2092eb5ba87ad205e4ffe6c22 (diff) |
s_symbolTid is only available if crash handler is there.
Diffstat (limited to 'public')
-rw-r--r-- | public/client/TracyProfiler.cpp | 2 |
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 |