OSDN Git Service

Added a NETWORK trace tag.
authorFelipe Leme <felipeal@google.com>
Wed, 7 Sep 2016 18:32:13 +0000 (11:32 -0700)
committerFelipe Leme <felipeal@google.com>
Wed, 7 Sep 2016 19:47:18 +0000 (12:47 -0700)
BUG: 31281543
Change-Id: I4d7c7fc26c77fec099bbf0f9426e3a9f3a722e6d

include/cutils/trace.h

index c9790ad..19313af 100644 (file)
@@ -70,7 +70,8 @@ __BEGIN_DECLS
 #define ATRACE_TAG_PACKAGE_MANAGER  (1<<18)
 #define ATRACE_TAG_SYSTEM_SERVER    (1<<19)
 #define ATRACE_TAG_DATABASE         (1<<20)
-#define ATRACE_TAG_LAST             ATRACE_TAG_DATABASE
+#define ATRACE_TAG_NETWORK          (1<<21)
+#define ATRACE_TAG_LAST             ATRACE_TAG_NETWORK
 
 // Reserved for initialization.
 #define ATRACE_TAG_NOT_READY        (1ULL<<63)