mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Cut lua callstack at lua_pcall.
This commit is contained in:
parent
ec73178733
commit
b11f932078
@ -1413,6 +1413,7 @@ Profiler::DequeueStatus Profiler::Dequeue( moodycamel::ConsumerToken& token )
|
|||||||
SendCallstackAlloc( ptr );
|
SendCallstackAlloc( ptr );
|
||||||
tracy_free( (void*)ptr );
|
tracy_free( (void*)ptr );
|
||||||
ptr = MemRead<uint64_t>( &item->callstackAlloc.nativePtr );
|
ptr = MemRead<uint64_t>( &item->callstackAlloc.nativePtr );
|
||||||
|
CutCallstack( (void*)ptr, "lua_pcall" );
|
||||||
SendCallstackPayload( ptr );
|
SendCallstackPayload( ptr );
|
||||||
tracy_free( (void*)ptr );
|
tracy_free( (void*)ptr );
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user