Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
constexpr const int token_maxlen = 20;
constexpr const char *const wmAPI = "winman";
constexpr const int token_maxlen = 20;
constexpr const char *const wmAPI = "winman";
-#ifdef NDEBUG
-#define TRACE()
-#define TRACEN(N)
-#else
#define CONCAT_(X, Y) X##Y
#define CONCAT(X, Y) CONCAT_(X, Y)
#define CONCAT_(X, Y) X##Y
#define CONCAT(X, Y) CONCAT_(X, Y)
+#ifndef SCOPE_TRACING
+#define TRACE()
+#define TRACEN(N)
+#else
#define TRACE() \
ScopeTrace __attribute__((unused)) CONCAT(trace_scope_, __LINE__)(__func__)
#define TRACEN(N) \
#define TRACE() \
ScopeTrace __attribute__((unused)) CONCAT(trace_scope_, __LINE__)(__func__)
#define TRACEN(N) \