diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 02576cbc..ae6d393d 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1036,6 +1036,17 @@ void SourceView::RenderSymbolView( Worker& worker, View& view ) auto inlineList = worker.GetInlineSymbolList( m_baseAddr, m_codeLen ); if( inlineList ) { + if( m_calcInlineStats ) + { + ImGui::SameLine(); + TextColoredUnformatted( ImVec4( 1.f, 1.f, 0.2f, 1.f ), ICON_FA_EXCLAMATION_TRIANGLE ); + if( ImGui::IsItemHovered() ) + { + ImGui::BeginTooltip(); + ImGui::TextUnformatted( "Context is limited to an inline function" ); + ImGui::EndTooltip(); + } + } SmallCheckbox( ICON_FA_SITEMAP " Function:", &m_calcInlineStats ); ImGui::SameLine(); ImGui::SetNextItemWidth( -1 );