From 01e0bbb5f916bcbd01926b639f3b13297fdbd0c0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 27 Sep 2018 23:05:46 +0200 Subject: [PATCH] Build list of allocations in a given call stack tree entry. --- server/TracyView.cpp | 14 ++++++++++++++ server/TracyView.hpp | 1 + 2 files changed, 15 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 17cca346..1dc6cb40 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -7562,6 +7562,20 @@ void View::DrawFrameTreeLevel( std::vector& tree, int& idx ) ImGui::PopID(); } + if( ImGui::IsItemClicked( 1 ) ) + { + auto& mem = m_worker.GetMemData().data; + const auto sz = mem.size(); + m_memInfo.allocList.clear(); + for( size_t i=0; i allocList; } m_memInfo; struct {