From fe7db6db4e7fb7fedefa495601c172c279c3b0a2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 19 Jun 2021 19:03:00 +0200 Subject: [PATCH] Send symbol address in code information message. --- client/TracyProfiler.cpp | 1 + common/TracyQueue.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 077ad8fb..2c58b370 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -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] ); diff --git a/common/TracyQueue.hpp b/common/TracyQueue.hpp index f3033c4e..c8509586 100644 --- a/common/TracyQueue.hpp +++ b/common/TracyQueue.hpp @@ -443,6 +443,7 @@ struct QueueCodeInformation { uint64_t ptr; uint32_t line; + uint64_t symAddr; }; struct QueueCrashReport