1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-28 20:23:51 +00:00

Add button to view entry stacks from the symbol view.

This commit is contained in:
Bartosz Taudul 2025-02-07 02:39:00 +01:00
parent 015a27bb4e
commit cfc67727a0
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1233,6 +1233,12 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
ImGui::AlignTextToFramePadding();
ImGui::TextDisabled( "(+%s inlined functions)", RealToString( inlineCount ) );
}
}
ImGui::SameLine();
ImGui::AlignTextToFramePadding();
if( ImGui::SmallButton( ICON_FA_ARROW_DOWN_SHORT_WIDE " Entry stacks" ) ) view.ShowSampleParents( m_symAddr, !m_calcInlineStats );
if( inlineList )
{
if( m_calcInlineStats )
{
ImGui::SameLine();