X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=client-lib%2FAFBClient.cpp;h=60743d9123cfbb5d2ff5e867b47c99f7f54531c3;hb=8ec32940e425c028d7669b1dc9a81d8d72859e71;hp=e0c4efa9195c9fd7f031cbfa4475ed62c9a0fa1f;hpb=f09cbfb256460bc934f1df1cef2939a35e032bab;p=staging%2Fwindowmanager.git 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) \