platform_system_core/liblog/tests
Mark Salyzyn e9c9106fbb liblog: __android_log_is_loggable support global properties
(cherry pick from commit c158456f50)

- 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
2015-06-15 07:34:07 -07:00
..
Android.mk liblog: __android_log_is_loggable support global properties 2015-06-15 07:34:07 -07:00
benchmark.h liblog: Add liblog test suite 2014-01-27 15:17:39 -08:00
benchmark_main.cpp Move liblog tests and benchmarks to libc++. 2014-11-12 03:44:16 +00:00
libc_test.cpp liblog: gtest open("/dev/pmsg0", "a") 2015-05-13 10:00:02 -07:00
liblog_benchmark.cpp liblog: Add BM_is_loggable benchmark 2015-04-24 07:59:44 -07:00
liblog_test.cpp liblog: __android_log_is_loggable support global properties 2015-06-15 07:34:07 -07:00