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/logger_read.c
|
cf983bcbae801e4660521b9747d9a7516e7df1c1 |
|
09-Mar-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: add android_log_logger_list management Add list of android_log_logger_list entities as a way of accessing the list of transport contexts from within one of the transports. This will enable us to iterate back to an internal transport context which may house a last index or signalling semaphore to propagate a wakeup on a blocking read. Test: gTest libcutils-tests, logd-unit-tests, liblog-unit-tests, logcat-unit-tests Bug: 27405083 Change-Id: I0a5e793946c020d97ffe10192369998e4ed92a83
/system/core/liblog/logger_read.c
|
cfd5b080af8de527d768f0ff7902c26af8d49307 |
|
17-Oct-2016 |
Mark Salyzyn <salyzyn@google.com> |
system/core: preparation to pull back interfaces from android/log.h Point to log/log.h where necessary, define LOG_TAG where necessary. Accept that private/android_logger.h is suitable replacement for log/logger.h and android/log.h. Correct liblog/README Effectively a cleanup and controlled select revert of 'system/core: drop or replace log/logger.h' and 'system/core: Replace log/log.h with android/log.h'. Test: compile Bug: 30465923 Change-Id: Ic2ad157bad6f5efe2c6af293a73bb753300b17a2
/system/core/liblog/logger_read.c
|
6584d0a35ab7722bdc6590525dee29f72f0ec576 |
|
28-Sep-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: Replace log/log.h with android/log.h Move all liblog related content into android/log.h, and make log/log.h points to android/log.h. Test: Compile Bug: 26552300 Bug: 31289077 Change-Id: I858e0ebe047b86f2a8530a99bc9c380d3d58edbb
/system/core/liblog/logger_read.c
|
305374cf0f8cf28b58a108cf4f45df92fc0dde86 |
|
18-Aug-2016 |
Mark Salyzyn <salyzyn@google.com> |
logger: validate hdr_size field in logger entry - check hdr_size to make sure it is in the expected range from sizeof entry_v1 to entry (entry_v4). - alter msg() method to report NULL on invalid hdr_size - alter all users of msg() method. Bug: 30947841 Change-Id: I9bc1740d7aa9f37df5be966c18de1fb9de63d5dd
/system/core/liblog/logger_read.c
|
2bd428e1f9c2fb4459b37b3bda95143319d78728 |
|
19-May-2016 |
Chih-hung Hsieh <chh@google.com> |
Merge "Fix misc-macro-parentheses warnings in liblog."
|
f0f94fe49b04c2d2bf0a0a44a7afb9118607b351 |
|
19-May-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix misc-macro-parentheses warnings in liblog. Bug: 28705665 Change-Id: Ib272a83cb93b09d986c19a40e23a2679b9e17558
/system/core/liblog/logger_read.c
|
8fd1faa596bd6e08c697ac97a4d531d4cea4256a |
|
13-May-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: log reader validate headers Ensure len and hdr_size fields are valid and match the return value. Truncate or zero content as necessary, but do not drop the message. Bug: 28610769 Change-Id: I10785fa5b03aa3da7d07b368188e3f7c36a84b4f
/system/core/liblog/logger_read.c
|
c33103c440517ae8fa5589c22eef795627adf793 |
|
29-Mar-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: gate write on log id available - Secure LOG_ID_KERNEL in writer - Secure LOG_ID_SECURITY in reader and writer - if writer transport says not available, do not write to that log id Bug: 27566046 Bug: 27896341 Change-Id: If63a78a56fb94adfbf9979454c4cadb81af45c19
/system/core/liblog/logger_read.c
|
018a96d03f0d452bf078084eedcd5693da42308d |
|
01-Mar-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: split out transports into separate files Create config_logger, logger and logger_read to house the log interfaces. Add fake_logger, logd_logger and pmsg_logger to house the write and read transports. Allows for an easier and direct path to add new transports to the library. SideEffects: None, logger benchmark performance unaffected Bug: 27176738 Bug: 27405083 Change-Id: I01b38637334a5242905c8c89f6ab0a92e2540008
/system/core/liblog/logger_read.c
|