mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Send symbol address in code information message.
This commit is contained in:
parent
3ce2f6209a
commit
fe7db6db4e
@ -3312,6 +3312,7 @@ void Profiler::SendCodeLocation( uint64_t ptr )
|
||||
MemWrite( &item.hdr.type, QueueType::CodeInformation );
|
||||
MemWrite( &item.codeInformation.ptr, ptr );
|
||||
MemWrite( &item.codeInformation.line, sym.line );
|
||||
MemWrite( &item.codeInformation.symAddr, sym.symAddr );
|
||||
|
||||
AppendData( &item, QueueDataSize[(int)QueueType::CodeInformation] );
|
||||
|
||||
|
||||
@ -443,6 +443,7 @@ struct QueueCodeInformation
|
||||
{
|
||||
uint64_t ptr;
|
||||
uint32_t line;
|
||||
uint64_t symAddr;
|
||||
};
|
||||
|
||||
struct QueueCrashReport
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user