commit | f1a4abb7b650e9117d4bbfdd52371df3c955bbc7 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Mon Nov 30 11:36:09 2015 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Mon Dec 07 14:24:02 2015 -0800 |
tree | eebf6fb1ddac3583b69cfc5e1b61e72cc9090d07 | |
parent | 7502dc525b57de7f39de5a26faf68e87505bdb0b [diff] |
liblog: Support for ANDROID_LOG_WRAP mode flag on reader If ANDROID_LOG_WRAP is specified, add timeout=3600 to the reader request. logd will comply by going to sleep with the socket open. If the start time is about to wrap or get pruned in the specified log buffers, then wakeup and dump the logs; or wakeup on timeout, whichever comes first. Bug: 25929746 Change-Id: I531b4317a20abcf3ba87d78c68fa2f268a4488ab