mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +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 )
|
#pragma pack( 1 )
|
||||||
|
|
||||||
|
// Must increase left query space after handling!
|
||||||
enum ServerQuery : uint8_t
|
enum ServerQuery : uint8_t
|
||||||
{
|
{
|
||||||
ServerQueryTerminate,
|
ServerQueryTerminate,
|
||||||
|
@ -2828,6 +2828,7 @@ bool Worker::DispatchProcess( const QueueItem& ev, const char*& ptr )
|
|||||||
break;
|
break;
|
||||||
case QueueType::SymbolCode:
|
case QueueType::SymbolCode:
|
||||||
AddSymbolCode( ev.stringTransfer.ptr, ptr, sz );
|
AddSymbolCode( ev.stringTransfer.ptr, ptr, sz );
|
||||||
|
m_serverQuerySpaceLeft++;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert( false );
|
assert( false );
|
||||||
@ -2872,6 +2873,7 @@ bool Worker::DispatchProcess( const QueueItem& ev, const char*& ptr )
|
|||||||
break;
|
break;
|
||||||
case QueueType::ExternalName:
|
case QueueType::ExternalName:
|
||||||
AddExternalName( ev.stringTransfer.ptr, ptr, sz );
|
AddExternalName( ev.stringTransfer.ptr, ptr, sz );
|
||||||
|
m_serverQuerySpaceLeft++;
|
||||||
break;
|
break;
|
||||||
case QueueType::ExternalThreadName:
|
case QueueType::ExternalThreadName:
|
||||||
AddExternalThreadName( ev.stringTransfer.ptr, ptr, sz );
|
AddExternalThreadName( ev.stringTransfer.ptr, ptr, sz );
|
||||||
@ -3765,6 +3767,7 @@ bool Worker::Process( const QueueItem& ev )
|
|||||||
break;
|
break;
|
||||||
case QueueType::SymbolInformation:
|
case QueueType::SymbolInformation:
|
||||||
ProcessSymbolInformation( ev.symbolInformation );
|
ProcessSymbolInformation( ev.symbolInformation );
|
||||||
|
m_serverQuerySpaceLeft++;
|
||||||
break;
|
break;
|
||||||
case QueueType::Terminate:
|
case QueueType::Terminate:
|
||||||
m_terminate = true;
|
m_terminate = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user