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:
parent
a2fce55aee
commit
3f700c93a6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user