mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Map compressed thread id 0 to real thread id 0.
This commit is contained in:
parent
684ba455a2
commit
cfd7ac3957
@ -189,6 +189,7 @@ Worker::Worker( const char* addr )
|
|||||||
, m_pendingSourceLocation( 0 )
|
, m_pendingSourceLocation( 0 )
|
||||||
{
|
{
|
||||||
m_data.sourceLocationExpand.push_back( 0 );
|
m_data.sourceLocationExpand.push_back( 0 );
|
||||||
|
m_data.threadExpand.push_back( 0 );
|
||||||
|
|
||||||
#ifndef TRACY_NO_STATISTICS
|
#ifndef TRACY_NO_STATISTICS
|
||||||
m_data.sourceLocationZonesReady = true;
|
m_data.sourceLocationZonesReady = true;
|
||||||
@ -206,6 +207,8 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
|||||||
, m_stream( nullptr )
|
, m_stream( nullptr )
|
||||||
, m_buffer( nullptr )
|
, m_buffer( nullptr )
|
||||||
{
|
{
|
||||||
|
m_data.threadExpand.push_back( 0 );
|
||||||
|
|
||||||
int fileVer = 0;
|
int fileVer = 0;
|
||||||
|
|
||||||
uint8_t hdr[8];
|
uint8_t hdr[8];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user