Loading liblog/logger_write.c +1 −1 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ static int __write_to_log_daemon(log_id_t log_id, struct iovec* vec, size_t nr) /* If only we could reset downstream logd counter */ return -EPERM; } } else if (log_id == LOG_ID_EVENTS) { } else if (log_id == LOG_ID_EVENTS || log_id == LOG_ID_STATS) { const char* tag; size_t len; EventTagMap *m, *f; Loading logd/LogBuffer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ int LogBuffer::log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, int prio = ANDROID_LOG_INFO; const char* tag = nullptr; size_t tag_len = 0; if (log_id == LOG_ID_EVENTS) { if (log_id == LOG_ID_EVENTS || log_id == LOG_ID_STATS) { tag = tagToName(elem->getTag()); if (tag) { tag_len = strlen(tag); Loading Loading
liblog/logger_write.c +1 −1 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ static int __write_to_log_daemon(log_id_t log_id, struct iovec* vec, size_t nr) /* If only we could reset downstream logd counter */ return -EPERM; } } else if (log_id == LOG_ID_EVENTS) { } else if (log_id == LOG_ID_EVENTS || log_id == LOG_ID_STATS) { const char* tag; size_t len; EventTagMap *m, *f; Loading
logd/LogBuffer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ int LogBuffer::log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, int prio = ANDROID_LOG_INFO; const char* tag = nullptr; size_t tag_len = 0; if (log_id == LOG_ID_EVENTS) { if (log_id == LOG_ID_EVENTS || log_id == LOG_ID_STATS) { tag = tagToName(elem->getTag()); if (tag) { tag_len = strlen(tag); Loading