diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b08dc9e6..6534bfec 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -11437,6 +11437,7 @@ void View::DrawStatistics() continue; } + const char* parentName = nullptr; if( symlen == 0 ) { uint32_t offset; @@ -11448,6 +11449,7 @@ void View::DrawStatistics() { codeAddr = parentAddr; symlen = pit->second.size.Val(); + parentName = m_worker.GetString( pit->second.name ); } } } @@ -11471,6 +11473,11 @@ void View::DrawStatistics() } ImGui::PopID(); } + if( parentName ) + { + ImGui::SameLine(); + ImGui::TextDisabled( "(%s)", parentName ); + } ImGui::NextColumn(); float indentVal = 0.f; if( m_statBuzzAnim.Match( v.symAddr ) )