1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Do not unset TRACY_CALLSTACK

This commit is contained in:
Igor S. Gerasimov 2024-12-27 11:47:02 +01:00
parent a2fce55aee
commit 3f700c93a6
2 changed files with 0 additions and 12 deletions

View File

@ -136,7 +136,6 @@
#ifndef TRACY_CALLSTACK
#define TRACY_CALLSTACK 0
#define TRACY_CALLSTACK_SET
#endif
#define TracyNoop tracy::ProfilerAvailable()
@ -250,11 +249,6 @@
# define TracyFiberLeave tracy::Profiler::LeaveFiber()
#endif
#ifdef TRACY_CALLSTACK_SET
#undef TRACY_CALLSTACK_SET
#undef TRACY_CALLSTACK
#endif
#endif
#endif

View File

@ -250,7 +250,6 @@ TRACY_API int ___tracy_connected(void);
#ifndef TRACY_CALLSTACK
#define TRACY_CALLSTACK 0
#define TRACY_CALLSTACK_SET
#endif
#define TracyCZone( ctx, active ) static const struct ___tracy_source_location_data TracyConcat(__tracy_source_location,TracyLine) = { NULL, __func__, TracyFile, (uint32_t)TracyLine, 0 }; TracyCZoneCtx ctx = ___tracy_emit_zone_begin_callstack( &TracyConcat(__tracy_source_location,TracyLine), TRACY_CALLSTACK, active );
@ -376,11 +375,6 @@ TRACY_API void ___tracy_fiber_leave( void );
# define TracyCFiberLeave ___tracy_fiber_leave();
#endif
#ifdef TRACY_CALLSTACK_SET
#undef TRACY_CALLSTACK_SET
#undef TRACY_CALLSTACK
#endif
#endif
#ifdef __cplusplus