Increase possible inline stack size to 64 elements.

This commit is contained in:
Bartosz Taudul 2022-10-04 22:16:20 +02:00
parent 5874ac11f7
commit 7552341ff0
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -96,7 +96,7 @@ namespace tracy
#if TRACY_HAS_CALLSTACK == 1 #if TRACY_HAS_CALLSTACK == 1
enum { MaxCbTrace = 16 }; enum { MaxCbTrace = 64 };
enum { MaxNameSize = 8*1024 }; enum { MaxNameSize = 8*1024 };
int cb_num; int cb_num;
@ -583,7 +583,7 @@ CallstackEntryData DecodeCallstackPtr( uint64_t ptr )
#elif TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 3 || TRACY_HAS_CALLSTACK == 4 || TRACY_HAS_CALLSTACK == 6 #elif TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 3 || TRACY_HAS_CALLSTACK == 4 || TRACY_HAS_CALLSTACK == 6
enum { MaxCbTrace = 16 }; enum { MaxCbTrace = 64 };
struct backtrace_state* cb_bts; struct backtrace_state* cb_bts;
int cb_num; int cb_num;