Skip to content

Commit

Permalink
trace: use only explicit RE_TRACE_ENABLED by cmake (#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Oct 3, 2023
1 parent 040455a commit 177f3f5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/re_trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ void re_trace_event(const char *cat, const char *name, char ph, void *id,
int32_t async_id, re_trace_arg_type arg_type,
const char *arg_name, void *arg_value);

#if !defined(RELEASE) && !defined(RE_TRACE_ENABLED)
#define RE_TRACE_ENABLED 1
#endif

#ifdef RE_TRACE_ENABLED

#define RE_TRACE_BEGIN(c, n) \
Expand Down

0 comments on commit 177f3f5

Please sign in to comment.