summaryrefslogtreecommitdiffstats
path: root/include/cutils/trace.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-06-18 01:50:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-06-18 01:50:34 +0000
commitda4c1d141ac3c1afeca6ea5a9aaa30cbb1df31c5 (patch)
treec81910d65e9feb100cfe4bbd8e3faec27bf6117d /include/cutils/trace.h
parent755ced8064786dfe3f23a92faddecc7aeca93c70 (diff)
parent9ede33233f97da5c9fb079ac4b373fb7eeb6a3ee (diff)
downloadsystem_core-da4c1d141ac3c1afeca6ea5a9aaa30cbb1df31c5.zip
system_core-da4c1d141ac3c1afeca6ea5a9aaa30cbb1df31c5.tar.gz
system_core-da4c1d141ac3c1afeca6ea5a9aaa30cbb1df31c5.tar.bz2
Merge "Set ATRACE_ENABLE() to '0' if not availble"
Diffstat (limited to 'include/cutils/trace.h')
-rw-r--r--include/cutils/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cutils/trace.h b/include/cutils/trace.h
index fbb6077..a0dd1e0 100644
--- a/include/cutils/trace.h
+++ b/include/cutils/trace.h
@@ -263,7 +263,7 @@ static inline void atrace_int(uint64_t tag, const char* name, int32_t value)
#define ATRACE_INIT()
#define ATRACE_GET_ENABLED_TAGS()
-#define ATRACE_ENABLED()
+#define ATRACE_ENABLED() 0
#define ATRACE_BEGIN(name)
#define ATRACE_END()
#define ATRACE_ASYNC_BEGIN(name, cookie)