mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Account for case with no local samples (external only).
This commit is contained in:
parent
b217e00dd9
commit
22a8c53e8b
@ -1115,7 +1115,7 @@ void SourceView::RenderSymbolView( const Worker& worker, View& view )
|
||||
}
|
||||
iptotalSrc = iptotalAsm;
|
||||
}
|
||||
if( iptotalAsm.local > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||
if( ( iptotalAsm.local + iptotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
|
Loading…
x
Reference in New Issue
Block a user