diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2015-06-12 14:59:42 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2015-06-15 21:19:10 +0000 |
| commit | ee49c6a670a54e0636f81f39ddc93c87c9a4d766 (patch) | |
| tree | b4ce22b87f656777a6c688d502c756658e00e958 /trusty/coverage/coverage.cpp | |
| parent | 7015b3be5392043ca32f05aa51631dbec0a058d5 (diff) | |
logd: missing klogd content
- regression in log_strtok_r (part deux) In commit
'logd: fix kernel logline stutter'
2c3b300fd8307e8da13608197d0a89bc613de5fb we introduced log_strtok_r.
as a replacement for strtok_r that dealt with a problem with
some kernel log messages. Fix is to refine definition of
is_timestamp to not match on patterns like [0], requiring
a single period. Another fix is to refine definition of
is_prio to properly escape non-digit content.
- Missing content because SYSLOG_ACTION_SIZE_BUFFER with added logging
is too short for full read of SYSLOG_ACTION_READ_ALL dropping
initial content. Add a margin for additional 1024 bytes.
- Absolute _first_ log entry has sequence number of 1, which is
specifically dropped, start sequence count at 1 rather than 0.
- Remove trailing space for efficiency.
- If tag exists but no content, trick into kernel logging.
Bug: 21851884
Change-Id: I0867a555a3bca09bbf18d18e75e41dffffe57a23
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
