mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Don't search module list for kernel addresses.
This commit is contained in:
parent
ece32b47df
commit
85ffe0ea04
@ -149,6 +149,13 @@ const char* DecodeCallstackPtrFast( uint64_t ptr )
|
||||
|
||||
static void GetModuleName( uint64_t addr, char* buf, ULONG& len )
|
||||
{
|
||||
if( ( addr & 0x8000000000000000 ) != 0 )
|
||||
{
|
||||
memcpy( buf, "[kernel]", 9 );
|
||||
len = 8;
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef __CYGWIN__
|
||||
for( auto& v : *s_modCache )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user