diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2017-04-17 12:46:12 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2017-04-18 07:19:23 -0700 |
| commit | 912eb625957d92a1a68d1370bf8f73283554ff17 (patch) | |
| tree | 54e2b47527731820081a17d95315db6537ca6085 /base/errors_unix.cpp | |
| parent | 02012596c151069920ef2ce3df8a071f901f89cf (diff) | |
logd: regression in handling watermark boundary.
(cherry pick from commit 5836379b2114f47c53485b42ab157104c29b2c4e)
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 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
