2ed51d708eda64516ec79ac6397f690de38f0075 |
|
09-Mar-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: specify clang format Switch coding style to match SideEffects: None Test: compile Bug: 27405083 Change-Id: Id426d5c5e3b18f2ceec22b31bbc9781aabf6bcca
/system/core/liblog/include/log/log_read.h
|
62d0d2d683f5d19cf9d451548bd03c4b4f53c42e |
|
09-Mar-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: add logprint to host build - cleanup of some style issues - resolve a few minor bugs - add -lrt for host so that clock_gettime can be issued - enable write-only logging, logprint and event list handling tests for host consumption. NB: CtsLiblogTestCases_list is only outlet for host testing of the interfaces, but it is not part of any automated testing Test: gTest liblog-unit-tests, liblog-benchmarks and CtsLiblogTestCases_list && build mmma system/core/liblog Bug: 27405083 Change-Id: I13db1f45f67569407587a5a909248de33809b8cf
/system/core/liblog/include/log/log_read.h
|
21de8aca67fd8b2f1e10ef250509164c34fc7049 |
|
25-Jan-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: add log/log_read.h Move log reading definitions to their own home. struct logger_entry struct logger_entry_v2 struct logger_entry_v3 struct logger_entry_v4 LOGGER_ENTRY_MAX_PAYLOAD LOGGER_ENTRY_MAX_LEN struct log_msg android_logger_get_id() android_logger_clear() android_logger_get_log_size() android_logger_get_log_readable_size() struct logger_list android_logger_get_statistics() android_logger_get_prune_list() android_logger_set_prune_list() android_logger_list_alloc() android_logger_list_alloc_time() android_logger_list_free() android_logger_list_read() android_logger_open() android_logger_list_open() Deal with a possible scenario where fcntl.h was not included at the top of the source files, and log/log_read.h inclusion of fcntl.h conflicts with a source file inclusion of sys/cdefs.h definition of __unused macro. Test: gTest liblog-unit-tests --gtest_filter=\ liblog.__android_log_write__android_logger_list_read:\ liblog.android_logger_get_ Bug: 34250038 Change-Id: Ib33544171563d6a351164754c254c4385686025b
/system/core/liblog/include/log/log_read.h
|