mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Add missing query space extensions.
This commit is contained in:
parent
cda285ceb7
commit
ea507289c6
@ -36,6 +36,7 @@ enum { WelcomeMessageHostInfoSize = 1024 };
|
||||
|
||||
#pragma pack( 1 )
|
||||
|
||||
// Must increase left query space after handling!
|
||||
enum ServerQuery : uint8_t
|
||||
{
|
||||
ServerQueryTerminate,
|
||||
|
@ -2828,6 +2828,7 @@ bool Worker::DispatchProcess( const QueueItem& ev, const char*& ptr )
|
||||
break;
|
||||
case QueueType::SymbolCode:
|
||||
AddSymbolCode( ev.stringTransfer.ptr, ptr, sz );
|
||||
m_serverQuerySpaceLeft++;
|
||||
break;
|
||||
default:
|
||||
assert( false );
|
||||
@ -2872,6 +2873,7 @@ bool Worker::DispatchProcess( const QueueItem& ev, const char*& ptr )
|
||||
break;
|
||||
case QueueType::ExternalName:
|
||||
AddExternalName( ev.stringTransfer.ptr, ptr, sz );
|
||||
m_serverQuerySpaceLeft++;
|
||||
break;
|
||||
case QueueType::ExternalThreadName:
|
||||
AddExternalThreadName( ev.stringTransfer.ptr, ptr, sz );
|
||||
@ -3765,6 +3767,7 @@ bool Worker::Process( const QueueItem& ev )
|
||||
break;
|
||||
case QueueType::SymbolInformation:
|
||||
ProcessSymbolInformation( ev.symbolInformation );
|
||||
m_serverQuerySpaceLeft++;
|
||||
break;
|
||||
case QueueType::Terminate:
|
||||
m_terminate = true;
|
||||
|
Loading…
Reference in New Issue
Block a user