diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-05-10 15:50:39 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-05-15 15:13:20 -0700 |
commit | 982ad208b5e4d83f966ee4c10ad4f606417bcda6 (patch) | |
tree | de8365df77930cb49825880a121e983f71f43f99 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 3d0186b97e0b559a2dbd75c558ff5834cc27cfc5 (diff) |
logd: remove start filtration from flushTo
We have already searched for the start point, the start filter check
is paranoia that removes out-of-order entries that we are undoubtably
interested in. Out-of-order entries occur under reader pressure, as
the writer gets pushed back from in-place sorted order and lands it
at the end for the reader to pick it up. If this occurred during a
batch run or a logger thread wakeup, the entry could be filtered out
and never output to the reader.
Found one case where logcat.tail_time* tests failed which was fixed
with this adjustment.
Test: gTest logd-unit-tests, liblog-unit-tests and logcat-unit-tests
Bug: 38046067
Bug: 37791296
Change-Id: Icbde6b33dca7ab98348c3a872793aeef3997d460
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions