diff options
author | Richard Uhler <ruhler@google.com> | 2015-04-01 17:29:34 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-01 17:29:34 +0000 |
commit | 0c266ef2d7e137efbd83366a98a861d9770fbf06 (patch) | |
tree | 06463f3a6e3757c7dec76d3fcc4b64e03d2adb5d /include/cutils | |
parent | 9dc41d5d34c792e7a05e1ddfeea99c6cfc02fffd (diff) | |
parent | 7d451ab96d3999cdcada940147a36505cfe8c57b (diff) | |
download | system_core-0c266ef2d7e137efbd83366a98a861d9770fbf06.zip system_core-0c266ef2d7e137efbd83366a98a861d9770fbf06.tar.gz system_core-0c266ef2d7e137efbd83366a98a861d9770fbf06.tar.bz2 |
Merge "Define atrace_* functions for both target and host."
Diffstat (limited to 'include/cutils')
-rw-r--r-- | include/cutils/trace.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/cutils/trace.h b/include/cutils/trace.h index 59ff6c1..9d039e6 100644 --- a/include/cutils/trace.h +++ b/include/cutils/trace.h @@ -80,7 +80,6 @@ __BEGIN_DECLS #error ATRACE_TAG must be defined to be one of the tags defined in cutils/trace.h #endif -#ifdef HAVE_ANDROID_OS /** * Opens the trace file for writing and reads the property for initial tags. * The atrace.tags.enableflags property sets the tags to trace. @@ -248,19 +247,6 @@ static inline void atrace_int64(uint64_t tag, const char* name, int64_t value) } } -#else // not HAVE_ANDROID_OS - -#define ATRACE_INIT() -#define ATRACE_GET_ENABLED_TAGS() -#define ATRACE_ENABLED() 0 -#define ATRACE_BEGIN(name) -#define ATRACE_END() -#define ATRACE_ASYNC_BEGIN(name, cookie) -#define ATRACE_ASYNC_END(name, cookie) -#define ATRACE_INT(name, value) - -#endif // not HAVE_ANDROID_OS - __END_DECLS #endif // _LIBS_CUTILS_TRACE_H |