From aa154792c79b365f7eb62159438d125a7ab6871a Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Tue, 14 Jun 2022 08:01:19 -0700 Subject: [PATCH] Hiding the "Incomplete context switch data" warning on fibers. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b4d5bfc8..3501ddad 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -7471,7 +7471,7 @@ void View::DrawZoneInfoWindow() { const auto end = m_worker.GetZoneEnd( ev ); auto eit = std::upper_bound( it, ctx->v.end(), end, [] ( const auto& l, const auto& r ) { return l < r.Start(); } ); - bool incomplete = eit == ctx->v.end(); + bool incomplete = eit == ctx->v.end() && !m_worker.IsThreadFiber( tid ); uint64_t cnt = std::distance( it, eit ); if( cnt == 1 ) {