From 306ef02aa2f4adb3d023bcb808ece21460da988a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 15 Oct 2022 00:43:07 +0200 Subject: Do not limit inline propagation to sample count cost. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index c7ae6538..05558da4 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1782,7 +1782,7 @@ static uint32_t GetGoodnessColor( float inRatio ) void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, const View& view ) { const auto scale = GetScale(); - if( m_cost == CostType::SampleCount && !m_calcInlineStats && ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) ) + if( !m_calcInlineStats && ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) ) { const auto samplesReady = worker.AreSymbolSamplesReady(); if( !samplesReady ) -- cgit v1.2.3