1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Gather failure data before terminating connection.

This commit is contained in:
Bartosz Taudul
2020-03-29 23:01:57 +02:00
parent 02cf838ceb
commit 30771bf7cb
2 changed files with 129 additions and 0 deletions
+6
View File
@@ -685,6 +685,12 @@ private:
void HandlePostponedPlots();
void HandlePostponedSamples();
bool IsThreadStringRetrieved( uint64_t id );
bool IsSourceLocationRetrieved( int16_t srcloc );
bool HasAllFailureData();
void HandleFailure( const char* ptr, const char* end );
void DispatchFailure( const QueueItem& ev, const char*& ptr );
StringLocation StoreString( const char* str, size_t sz );
const ContextSwitch* const GetContextSwitchDataImpl( uint64_t thread );