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

Send lean callstacks.

This commit is contained in:
Bartosz Taudul
2020-05-10 19:43:12 +02:00
parent f0ade07be8
commit 5a774c82cc
4 changed files with 10 additions and 6 deletions
+4 -4
View File
@@ -4185,8 +4185,8 @@ bool Worker::Process( const QueueItem& ev )
case QueueType::CallstackMemoryLean:
ProcessCallstackMemory();
break;
case QueueType::Callstack:
ProcessCallstack( ev.callstack );
case QueueType::CallstackLean:
ProcessCallstack();
break;
case QueueType::CallstackAlloc:
ProcessCallstackAlloc( ev.callstackAlloc );
@@ -5334,9 +5334,9 @@ void Worker::ProcessCallstackMemory()
}
}
void Worker::ProcessCallstack( const QueueCallstack& ev )
void Worker::ProcessCallstack()
{
assert( m_pendingCallstackPtr == ev.ptr );
assert( m_pendingCallstackPtr != 0 );
m_pendingCallstackPtr = 0;
auto nit = m_nextCallstack.find( m_threadCtx );