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

Send single string for callstack frame.

This commit is contained in:
Bartosz Taudul
2020-07-26 00:41:49 +02:00
parent 61e3acde06
commit 88685440b6
3 changed files with 2 additions and 7 deletions
+1 -2
View File
@@ -2404,12 +2404,11 @@ void Profiler::SendCallstackFrame( uint64_t ptr )
{
const auto& frame = frameData.data[i];
SendString( uint64_t( frame.name ), frame.name, QueueType::CustomStringData );
SendSingleString( frame.name );
SendString( uint64_t( frame.file ), frame.file, QueueType::CustomStringData );
QueueItem item;
MemWrite( &item.hdr.type, QueueType::CallstackFrame );
MemWrite( &item.callstackFrame.name, (uint64_t)frame.name );
MemWrite( &item.callstackFrame.file, (uint64_t)frame.file );
MemWrite( &item.callstackFrame.line, frame.line );
MemWrite( &item.callstackFrame.symAddr, frame.symAddr );