Allow inspection of symbol from flame graph.

This commit is contained in:
Bartosz Taudul 2024-09-28 15:30:50 +02:00
parent 5caeffa19a
commit 98a064efa9
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -318,6 +318,11 @@ void View::DrawFlameGraphItem( const FlameGraphItem& item, FlameGraphContext& ct
ImGui::SameLine(); ImGui::SameLine();
TextDisabledUnformatted( buf ); TextDisabledUnformatted( buf );
} }
if( IsMouseClicked( 0 ) )
{
ViewDispatch( file, line, symAddr );
}
} }
ImGui::EndTooltip(); ImGui::EndTooltip();
} }