mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-26 04:58:23 +00:00
Add no-op callstack cleanup procedure.
This commit is contained in:
@@ -221,6 +221,10 @@ void InitCallstack()
|
||||
#endif
|
||||
}
|
||||
|
||||
void EndCallstack()
|
||||
{
|
||||
}
|
||||
|
||||
const char* DecodeCallstackPtrFast( uint64_t ptr )
|
||||
{
|
||||
static char ret[MaxNameSize];
|
||||
@@ -661,6 +665,10 @@ void InitCallstack()
|
||||
#endif
|
||||
}
|
||||
|
||||
void EndCallstack()
|
||||
{
|
||||
}
|
||||
|
||||
static int FastCallstackDataCb( void* data, uintptr_t pc, uintptr_t lowaddr, const char* fn, int lineno, const char* function )
|
||||
{
|
||||
if( function )
|
||||
@@ -913,6 +921,10 @@ void InitCallstack()
|
||||
{
|
||||
}
|
||||
|
||||
void EndCallstack()
|
||||
{
|
||||
}
|
||||
|
||||
const char* DecodeCallstackPtrFast( uint64_t ptr )
|
||||
{
|
||||
static char ret[1024];
|
||||
|
||||
Reference in New Issue
Block a user