summaryrefslogtreecommitdiffstats
path: root/liblog
diff options
context:
space:
mode:
authorYao Chen2017-12-04 15:17:18 -0600
committerandroid-build-merger2017-12-04 15:17:18 -0600
commit9e28024b425e1cd93ca54d52d0df1c8f7968ead3 (patch)
tree2f94e9f4b6d7d44e3f3db6183f191eff039b0ffc /liblog
parentd11a642bd05393ec32474db71cc557fa26a51784 (diff)
parent1e2ed53ffcc2c9c28531bdadb478865c7d3bff35 (diff)
downloadplatform-system-core-9e28024b425e1cd93ca54d52d0df1c8f7968ead3.tar.gz
platform-system-core-9e28024b425e1cd93ca54d52d0df1c8f7968ead3.tar.xz
platform-system-core-9e28024b425e1cd93ca54d52d0df1c8f7968ead3.zip
Merge "make log.tag.stats_log work for stats buffer."
am: 1e2ed53ffc Change-Id: I5b81edb2c221eb8a7c5ab64316d788879d727c58
Diffstat (limited to 'liblog')
-rw-r--r--liblog/logger_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/logger_write.c b/liblog/logger_write.c
index 589ce8429..d03a2b674 100644
--- a/liblog/logger_write.c
+++ b/liblog/logger_write.c
@@ -270,7 +270,7 @@ static int __write_to_log_daemon(log_id_t log_id, struct iovec* vec, size_t nr)
270 /* If only we could reset downstream logd counter */ 270 /* If only we could reset downstream logd counter */
271 return -EPERM; 271 return -EPERM;
272 } 272 }
273 } else if (log_id == LOG_ID_EVENTS) { 273 } else if (log_id == LOG_ID_EVENTS || log_id == LOG_ID_STATS) {
274 const char* tag; 274 const char* tag;
275 size_t len; 275 size_t len;
276 EventTagMap *m, *f; 276 EventTagMap *m, *f;