mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Send module name.
This commit is contained in:
parent
7d0dac9ae2
commit
abf8c42a7c
@ -2215,12 +2215,17 @@ void Profiler::SendCallstackFrame( uint64_t ptr )
|
||||
const auto frameData = DecodeCallstackPtr( ptr );
|
||||
|
||||
{
|
||||
SendString( uint64_t( frameData.imageName ), frameData.imageName, QueueType::CustomStringData );
|
||||
|
||||
QueueItem item;
|
||||
MemWrite( &item.hdr.type, QueueType::CallstackFrameSize );
|
||||
MemWrite( &item.callstackFrameSize.ptr, ptr );
|
||||
MemWrite( &item.callstackFrameSize.size, frameData.size );
|
||||
MemWrite( &item.callstackFrameSize.imageName, (uint64_t)frameData.imageName );
|
||||
|
||||
AppendData( &item, QueueDataSize[(int)QueueType::CallstackFrameSize] );
|
||||
|
||||
tracy_free( (void*)frameData.imageName );
|
||||
}
|
||||
|
||||
for( uint8_t i=0; i<frameData.size; i++ )
|
||||
|
@ -302,6 +302,7 @@ struct QueueCallstackFrameSize
|
||||
{
|
||||
uint64_t ptr;
|
||||
uint8_t size;
|
||||
uint64_t imageName;
|
||||
};
|
||||
|
||||
struct QueueCallstackFrame
|
||||
|
Loading…
Reference in New Issue
Block a user