diff options
| author | Tobias Grosser <grosser@google.com> | 2013-06-17 18:35:46 -0700 |
|---|---|---|
| committer | Tobias Grosser <grosser@google.com> | 2013-06-17 18:38:02 -0700 |
| commit | 9ede33233f97da5c9fb079ac4b373fb7eeb6a3ee (patch) | |
| tree | 22fe1ae1f69b70e9a17c879c7ca6259467baf16b | |
| parent | 406c3bb885538e5003efc3736cd2b57ffef2b5cc (diff) | |
| download | system_core-9ede33233f97da5c9fb079ac4b373fb7eeb6a3ee.zip system_core-9ede33233f97da5c9fb079ac4b373fb7eeb6a3ee.tar.gz system_core-9ede33233f97da5c9fb079ac4b373fb7eeb6a3ee.tar.bz2 | |
Set ATRACE_ENABLE() to '0' if not availble
Change-Id: Iec61d275cd7b2be65f828c282f97cc59adf4cc0b
| -rw-r--r-- | include/cutils/trace.h | 2 |
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) |
