From bdb11f6e487ea03b6ff603ccf6bf7e02d7cea12e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 15 Jun 2021 02:31:51 +0200 Subject: [PATCH] Use same kernel module name as on Linux. --- client/TracyCallstack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyCallstack.cpp b/client/TracyCallstack.cpp index 300257e2..5e2a99b7 100644 --- a/client/TracyCallstack.cpp +++ b/client/TracyCallstack.cpp @@ -223,7 +223,7 @@ const char* DecodeCallstackPtrFast( uint64_t ptr ) static const char* GetModuleName( uint64_t addr ) { - if( ( addr & 0x8000000000000000 ) != 0 ) return "[kernel]"; + if( ( addr >> 63 ) != 0 ) return ""; #ifndef __CYGWIN__ for( auto& v : *s_modCache )