X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fwindowmanager.git;a=blobdiff_plain;f=client-lib%2FAFBClient.cpp;fp=client-lib%2FAFBClient.cpp;h=60743d9123cfbb5d2ff5e867b47c99f7f54531c3;hp=e0c4efa9195c9fd7f031cbfa4475ed62c9a0fa1f;hb=8ec32940e425c028d7669b1dc9a81d8d72859e71;hpb=e30fe48e4c13ed57be74eaa65749e180d03c2e0c diff --git a/client-lib/AFBClient.cpp b/client-lib/AFBClient.cpp index e0c4efa..60743d9 100644 --- a/client-lib/AFBClient.cpp +++ b/client-lib/AFBClient.cpp @@ -84,13 +84,13 @@ namespace { 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) +#ifndef SCOPE_TRACING +#define TRACE() +#define TRACEN(N) +#else #define TRACE() \ ScopeTrace __attribute__((unused)) CONCAT(trace_scope_, __LINE__)(__func__) #define TRACEN(N) \