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

Lua callstack sending.

This commit is contained in:
Bartosz Taudul
2019-02-28 20:16:19 +01:00
parent 2c16bdd538
commit b8501956f9
2 changed files with 206 additions and 2 deletions
+2
View File
@@ -14,6 +14,7 @@ enum class QueueType : uint8_t
ZoneBeginAllocSrcLoc,
CallstackMemory,
Callstack,
CallstackAlloc,
Terminate,
KeepAlive,
Crash,
@@ -327,6 +328,7 @@ static const size_t QueueDataSize[] = {
sizeof( QueueHeader ) + sizeof( QueueZoneBegin ), // allocated source location
sizeof( QueueHeader ) + sizeof( QueueCallstackMemory ),
sizeof( QueueHeader ) + sizeof( QueueCallstack ),
sizeof( QueueHeader ) + sizeof( QueueCallstack ), // callstack alloc
// above items must be first
sizeof( QueueHeader ), // terminate
sizeof( QueueHeader ), // keep alive