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

Implement callstack serialization.

This commit is contained in:
Bartosz Taudul
2021-10-10 16:14:17 +02:00
parent a421083e58
commit 5ccf369919
4 changed files with 42 additions and 6 deletions
+2 -2
View File
@@ -548,9 +548,9 @@ public:
{
#ifdef TRACY_HAS_CALLSTACK
auto ptr = Callstack( depth );
TracyLfqPrepare( QueueType::Callstack );
TracyQueuePrepare( QueueType::Callstack );
MemWrite( &item->callstackFat.ptr, (uint64_t)ptr );
TracyLfqCommit;
TracyQueueCommit( callstackFatThread );
#endif
}