Don't filter out kernel frames on win32.

This commit is contained in:
Bartosz Taudul 2021-06-15 01:40:21 +02:00
parent 891e1ac280
commit 6d03b18d1c
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -203,7 +203,7 @@ void WINAPI EventRecordCallback( PEVENT_RECORD record )
if( hdr.EventDescriptor.Opcode == 32 )
{
const auto sw = (const StackWalkEvent*)record->UserData;
if( sw->stackProcess == s_pid && ( sw->stack[0] & 0x8000000000000000 ) == 0 )
if( sw->stackProcess == s_pid )
{
const uint64_t sz = ( record->UserDataLength - 16 ) / 8;
if( sz > 0 )