From 9326227bcda4a3529f3ae57691044db83bfae64e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 21 Mar 2026 01:48:00 +0100 Subject: [PATCH] Display reconstructed callstack in zone info window. --- profiler/src/profiler/TracyView_ZoneInfo.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/profiler/src/profiler/TracyView_ZoneInfo.cpp b/profiler/src/profiler/TracyView_ZoneInfo.cpp index 7fc048e8..7274cc4b 100644 --- a/profiler/src/profiler/TracyView_ZoneInfo.cpp +++ b/profiler/src/profiler/TracyView_ZoneInfo.cpp @@ -1089,6 +1089,21 @@ void View::DrawZoneInfoWindow() ImGui::TreePop(); } } + else + { + auto cs = ReconstructZoneCallstack( ev ); + if( !cs.empty() ) + { + auto expand = ImGui::TreeNode( "Call stack" ); + ImGui::SameLine(); + TextDisabledUnformatted( ICON_FA_WAND_SPARKLES ); + if( expand ) + { + DrawCallstackTable( cs.data(), cs.size(), false ); + ImGui::TreePop(); + } + } + } ImGui::EndChild(); }