From 4695f6093745aa3b23215c816d0d4103fa9f8b62 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 24 Feb 2020 22:11:52 +0100 Subject: [PATCH] Fix display of kernel addresses. --- server/TracyView.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index e21aeebb..47ac5033 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -11238,11 +11238,12 @@ void View::DrawCallstackWindow() { if( entry.sel == 0 ) { - ImGui::TextDisabled( "0x%" PRIx64, entry.idx ); + const auto addr = m_worker.GetCanonicalPointer( entry ); + ImGui::TextDisabled( "0x%" PRIx64, addr ); if( ImGui::IsItemClicked() ) { char tmp[32]; - sprintf( tmp, "0x%" PRIx64, entry.idx ); + sprintf( tmp, "0x%" PRIx64, addr ); ImGui::SetClipboardText( tmp ); } }