Don't include inlines when separate inlines are enabled.

This commit is contained in:
Bartosz Taudul 2021-11-27 18:05:05 +01:00
parent 582fcd5538
commit 05f9c74170
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -13615,7 +13615,7 @@ void View::DrawSamplesStatistics(Vector<SymList>& data, int64_t timeRange, Accum
if( isKernel ) ImGui::PushStyleColor( ImGuiCol_Text, 0xFF8888FF ); if( isKernel ) ImGui::PushStyleColor( ImGuiCol_Text, 0xFF8888FF );
const auto clicked = ImGui::Selectable( name, m_sampleParents.withInlines && m_sampleParents.symAddr == v.symAddr, ImGuiSelectableFlags_SpanAllColumns ); const auto clicked = ImGui::Selectable( name, m_sampleParents.withInlines && m_sampleParents.symAddr == v.symAddr, ImGuiSelectableFlags_SpanAllColumns );
if( isKernel ) ImGui::PopStyleColor(); if( isKernel ) ImGui::PopStyleColor();
if( clicked ) ShowSampleParents( v.symAddr, true ); if( clicked ) ShowSampleParents( v.symAddr, !m_statSeparateInlines );
ImGui::PopID(); ImGui::PopID();
} }
if( parentName ) if( parentName )