summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Lafon2017-08-24 22:14:06 -0500
committerYao Chen2017-11-14 18:20:00 -0600
commit701a0658e6241589a643c3dcab483d3999a4c8e8 (patch)
treeec8b88391e483b0bff7dc50b4549fa025f62f969 /liblog/logger_name.c
parent21d3840eb39291bbc59f0dc5a33fc58b152994fe (diff)
downloadplatform-system-core-701a0658e6241589a643c3dcab483d3999a4c8e8.tar.gz
platform-system-core-701a0658e6241589a643c3dcab483d3999a4c8e8.tar.xz
platform-system-core-701a0658e6241589a643c3dcab483d3999a4c8e8.zip
Create stats buffer in logd.
Bug: 69323063 Test: ran unit tests. Change-Id: Icfb827ab4674172c26b4bbfe1a9b3bffc03dc24b (cherry picked from commit 1b1b6f50c78d88e3256a5e13559d92fbb6d1c8fe)
Diffstat (limited to 'liblog/logger_name.c')
-rw-r--r--liblog/logger_name.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/liblog/logger_name.c b/liblog/logger_name.c
index a5a83e05a..479bbfeec 100644
--- a/liblog/logger_name.c
+++ b/liblog/logger_name.c
@@ -22,12 +22,13 @@
22 22
23/* In the future, we would like to make this list extensible */ 23/* In the future, we would like to make this list extensible */
24static const char* LOG_NAME[LOG_ID_MAX] = { 24static const char* LOG_NAME[LOG_ID_MAX] = {
25 /* clang-format off */ 25 /* clang-format off */
26 [LOG_ID_MAIN] = "main", 26 [LOG_ID_MAIN] = "main",
27 [LOG_ID_RADIO] = "radio", 27 [LOG_ID_RADIO] = "radio",
28 [LOG_ID_EVENTS] = "events", 28 [LOG_ID_EVENTS] = "events",
29 [LOG_ID_SYSTEM] = "system", 29 [LOG_ID_SYSTEM] = "system",
30 [LOG_ID_CRASH] = "crash", 30 [LOG_ID_CRASH] = "crash",
31 [LOG_ID_STATS] = "stats",
31 [LOG_ID_SECURITY] = "security", 32 [LOG_ID_SECURITY] = "security",
32 [LOG_ID_KERNEL] = "kernel", 33 [LOG_ID_KERNEL] = "kernel",
33 /* clang-format on */ 34 /* clang-format on */