OSDN Git Service

Added a NETWORK trace tag.
authorFelipe Leme <felipeal@google.com>
Wed, 7 Sep 2016 18:33:26 +0000 (11:33 -0700)
committerFelipe Leme <felipeal@google.com>
Wed, 7 Sep 2016 20:41:10 +0000 (13:41 -0700)
BUG: 31281543

Change-Id: Idc5759eec12f2704c9b9cc48db181f2e669ccc32

cmds/atrace/atrace.cpp

index facf300..5885738 100644 (file)
@@ -102,6 +102,7 @@ static const TracingCategory k_categories[] = {
     { "pm",         "Package Manager",  ATRACE_TAG_PACKAGE_MANAGER, { } },
     { "ss",         "System Server",    ATRACE_TAG_SYSTEM_SERVER, { } },
     { "database",   "Database",         ATRACE_TAG_DATABASE, { } },
+    { "network",    "Network",          ATRACE_TAG_NETWORK, { } },
     { k_coreServiceCategory, "Core services", 0, { } },
     { "sched",      "CPU Scheduling",   0, {
         { REQ,      "/sys/kernel/debug/tracing/events/sched/sched_switch/enable" },