diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-10-15 01:43:07 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-10-15 01:43:07 +0300 |
commit | 306ef02aa2f4adb3d023bcb808ece21460da988a (patch) | |
tree | 5ecb7731de416269c221f1af05f9fe57f79708aa /server | |
parent | 564534c7036f96790e299e962120e547079bfc25 (diff) |
Do not limit inline propagation to sample count cost.
Diffstat (limited to 'server')
-rw-r--r-- | server/TracySourceView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |