mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Separate message type for context switch callstack samples.
This commit is contained in:
@@ -1401,7 +1401,7 @@ void SysTraceWorker( void* ptr )
|
||||
{
|
||||
auto trace = GetCallstackBlock( cnt, ring, traceOffset );
|
||||
|
||||
TracyLfqPrepare( QueueType::CallstackSample );
|
||||
TracyLfqPrepare( QueueType::CallstackSampleContextSwitch );
|
||||
MemWrite( &item->callstackSampleFat.time, t0 );
|
||||
MemWrite( &item->callstackSampleFat.thread, prev_pid );
|
||||
MemWrite( &item->callstackSampleFat.ptr, (uint64_t)trace );
|
||||
|
||||
Reference in New Issue
Block a user