From 19857473e33b22e542e636c92dccf1837c234c27 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 18 Aug 2019 14:56:17 +0200 Subject: [PATCH] Also collect information on local threads. --- server/TracyWorker.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 0f284f94..ffbbe664 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -4213,11 +4213,7 @@ void Worker::ProcessContextSwitch( const QueueContextSwitch& ev ) cx.SetEnd( -1 ); cx.SetThread( ev.newThread ); - // At this point that check is approximate - if( !IsThreadLocal( ev.newThread ) ) - { - CheckExternalName( ev.newThread ); - } + CheckExternalName( ev.newThread ); if( migration ) {