diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-04-17 12:46:12 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-04-17 15:10:26 -0700 |
commit | 5836379b2114f47c53485b42ab157104c29b2c4e (patch) | |
tree | 7a1728529511862d750700e7cfdd1a16079f70e7 /libsparse/sparse_read.cpp | |
parent | ffa38cfc1ea33de4ddddb291cc70cc507506b758 (diff) |
logd: regression in handling watermark boundary.
Deal with a regression introduced in commit
5a34d6ea43d28f3b5d27bf6dd5b9fa31ec033531 (logd: drop mSequence from
LogBufferElement) where log_time was compared against nsec() time
miscalculating the watermark boundary. When dealing with logcat
-t/-T, or any tail reading, add a margin to prune to back off by a
period of 3 seconds (pruneMargin).
Test: gTest liblog-unit-tests logcat-unit-tests and logd-unit-tests
Bug: 37378309
Change-Id: I72ea858e4e7b5fa91741ea84c40d2e7c3c4aa031
Diffstat (limited to 'libsparse/sparse_read.cpp')
0 files changed, 0 insertions, 0 deletions