From e1b68232dcff0b5b222a598902f2d9b9c7f2e7f9 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 19 Jun 2021 01:40:05 +0200 Subject: [PATCH] Better describe kernel ghost zones. --- server/TracyView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index cf8f8117..5481bd3d 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4298,6 +4298,11 @@ int View::DrawGhostLevel( const Vector& vec, bool hover, double pxns, if( IsMouseClickReleased( 1 ) ) m_setRangePopup = RangeSlim { ev.start.Val(), ev.end.Val(), true }; ImGui::BeginTooltip(); TextDisabledUnformatted( ICON_FA_GHOST " Ghost zone" ); + if( sym.symAddr >> 63 != 0 ) + { + ImGui::SameLine(); + TextDisabledUnformatted( ICON_FA_HAT_WIZARD " kernel" ); + } ImGui::Separator(); ImGui::TextUnformatted( origSymName ); if( isInline )