summaryrefslogtreecommitdiffstats
path: root/libmincrypt
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-03-12 15:46:29 -0700
committerMark Salyzyn <salyzyn@google.com>2015-06-12 10:35:09 -0700
commitc158456f50817ac506f4eed780978e63dd222fe4 (patch)
treedd1d71e964a356a18a00ddadd2cfff1829e2540a /libmincrypt
parent57bd480c3b7c506423c6016e977539213d4c0759 (diff)
downloadcore-c158456f50817ac506f4eed780978e63dd222fe4.tar.gz
core-c158456f50817ac506f4eed780978e63dd222fe4.tar.bz2
core-c158456f50817ac506f4eed780978e63dd222fe4.zip
liblog: __android_log_is_loggable support global properties
- Add support for "log.tag" and "persist.log.tag" global logging properties, effectively a runtime default minimum logging level. - Add a thread-safe single level cache plus selective logic for the four properties being checked to help speed up logging decision on subsequent identical calls. - Using new __system_property_area_serial() to make for efficient (<100ns) handling of cache misses. Despite adding two new properties, we are 8 times faster on subsequent calls even if the properties do not exist. - A NULL or blank tag is no longer directed to return default, it will check the pair of global logging properties first. - Add liblog.is_loggable gTest - Fixup liblog.android_logger_get_, allow no content in crash buffer - Fixup liblog.max_payload, lowered logd priority increases latency Bug: 19544788 Bug: 21696721 Change-Id: Ideb887755aa3f1fd14a2603bda1fe23cba49642c
Diffstat (limited to 'libmincrypt')
0 files changed, 0 insertions, 0 deletions