platform_system_core/logcat
Tom Cherry 6f061e8d64 logcat: modernize the code
1) Use libbase parsing functions instead of our own versions
2) Remove log_device_t, as it's an unneeded wrapper around log buffers
3) Do not report 'unexpected' if we get a log from a buffer that we
   didn't reqest.  I checked and I don't see any references to this
   happening in practice, so the code is mostly superfluous.  It seems
   reasonable enough to report the actual buffer name instead of
   'unexpected' in any case.
4) Print all buffers that experience an error, not just the first one
   seen.

Test: logcat works, logcat-unit-tests
Change-Id: Ic50074cfb716f63f3eda261f1cd236d7afaf453a
2019-10-29 16:07:51 -07:00
..
tests liblog: don't return 0xFFFFFFFF as an invalid log id. 2019-03-25 16:41:39 -07:00
Android.bp logcat: remove the rest of liblogcat 2019-10-25 15:00:16 -07:00
event.logtags Logtags for com.android.server.policy 2019-03-26 12:36:53 -07:00
logcat.cpp logcat: modernize the code 2019-10-29 16:07:51 -07:00
logcat.h logcat: remove the rest of liblogcat 2019-10-25 15:00:16 -07:00
logcat_main.cpp logcat: remove the rest of liblogcat 2019-10-25 15:00:16 -07:00
logcatd.rc logcatd: fallocate and fadvise to logcat files 2019-09-04 22:45:48 +00:00
logcatd_main.cpp logcat: remove the rest of liblogcat 2019-10-25 15:00:16 -07:00
logpersist logcatd: fix up logpersist.cat to filter out signature file 2016-08-08 10:20:22 -07:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00