diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-04-26 14:15:10 -0700 |
---|---|---|
committer | Alex Ray <aray@google.com> | 2013-07-30 13:56:59 -0700 |
commit | 265743abde39f6411ed46e1e38d08c3bb7ad4f53 (patch) | |
tree | 6fae7b73a7c1328d7ba6478bcdf0a02cca50c08f /include/utils | |
parent | 77ed15a31ad314a1e6052299108362388c1169fe (diff) | |
download | system_core-265743abde39f6411ed46e1e38d08c3bb7ad4f53.zip system_core-265743abde39f6411ed46e1e38d08c3bb7ad4f53.tar.gz system_core-265743abde39f6411ed46e1e38d08c3bb7ad4f53.tar.bz2 |
Add traces for window manager and activity manager.
Change-Id: I6677ca64164f234efc7856ddd173ad6989b4f59e
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/Trace.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/utils/Trace.h b/include/utils/Trace.h index 637c146..6e2e284 100644 --- a/include/utils/Trace.h +++ b/include/utils/Trace.h @@ -40,13 +40,15 @@ // in the tracing always being disabled. // // These tags must be kept in sync with frameworks/base/core/java/android/os/Trace.java. -#define ATRACE_TAG_NEVER 0 // The "never" tag is never enabled. -#define ATRACE_TAG_ALWAYS (1<<0) // The "always" tag is always enabled. -#define ATRACE_TAG_GRAPHICS (1<<1) -#define ATRACE_TAG_INPUT (1<<2) -#define ATRACE_TAG_VIEW (1<<3) -#define ATRACE_TAG_WEBVIEW (1<<4) -#define ATRACE_TAG_LAST ATRACE_TAG_WEBVIEW +#define ATRACE_TAG_NEVER 0 // The "never" tag is never enabled. +#define ATRACE_TAG_ALWAYS (1<<0) // The "always" tag is always enabled. +#define ATRACE_TAG_GRAPHICS (1<<1) +#define ATRACE_TAG_INPUT (1<<2) +#define ATRACE_TAG_VIEW (1<<3) +#define ATRACE_TAG_WEBVIEW (1<<4) +#define ATRACE_TAG_WINDOW_MANAGER (1<<5) +#define ATRACE_TAG_ACTIVITY_MANAGER (1<<6) +#define ATRACE_TAG_LAST ATRACE_TAG_ACTIVITY_MANAGER #define ATRACE_TAG_VALID_MASK ((ATRACE_TAG_LAST - 1) | ATRACE_TAG_LAST) |