History log of /system/core/liblog/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b39e4025aee190b851da2d31acb449b7753f214b 12-Jul-2016 Colin Cross <ccross@android.com> Rename Android.soong.mk to Android.mk

Soong is always on now, so we don't have to distinguish between
makefiles that should be ignored because Soong is handling them with an
Android.bp file, and makefiles that are still needed with Soong. All
obsolete Android.mk files have been removed, rename all Android.soong.mk
files to Android.mk.

Change-Id: Iabbddcbfb2c837cfd4556241b570474452cc5d4d
/system/core/liblog/Android.mk
b50216ed86cf1cc150baef5462bc1ea45a615895 27-May-2016 Colin Cross <ccross@android.com> Remove deprecated Android.mk files

These directories all have Android.bp files that are always used now,
delete the Android.mk files.

Change-Id: I8b0c89072a660c4a7a30fcefc76a7bbe247df977
/system/core/liblog/Android.mk
7ef5249afacffe3901e3a602372c7d34cf655675 25-Mar-2016 Mark Salyzyn <salyzyn@google.com> liblog: suppress pmsg on user builds

- add optimized & cached LIBLOG_HIDDEN __android_log_is_debuggable()
- check when writing, either LOG_ID_SECURITY, SafetyNet or
debuggable when pushing content to the pmsg buffer.

Bug: 27566046
Change-Id: I85f1b55ec329b38e00f4183836b6ed53046c323d
/system/core/liblog/Android.mk
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/Android.mk
be1d3c21b57d3e67c6a9682f3b2f0838486a3ee8 10-Mar-2016 Mark Salyzyn <salyzyn@google.com> liblog: audit declare LIBLOG_ABI_PUBLIC

- replace <sys/cdefs.h> with local "log_cdefs.h" which
fortifies and expands definitions, adding LIBLOG_ABI_PUBLIC,
LIBLOG_HIDDEN, LIBLOG_ABI_PRIVATE and LIBLOG_WEAK.
- clearly tag each interface as LIBLOG_ABI_PUBLIC, LIBLOG_HIDDEN,
LIBLOG_ABI_PRIVATE, LIBLOG_WEAK or static depending on scope
- Add -fvisibility=hidden to ensure nothing else leaks
- some code standard adjustments

Bug: 27566046
Change-Id: Ic14033c4e6d833d973beb035ddc1c6134fb35a3f
/system/core/liblog/Android.mk
81f407be3621988a791b175c88a4b7f2ca2dead5 25-Feb-2016 Mark Salyzyn <salyzyn@google.com> liblog: __android_log_error_write use event list library

Switch to the event list library to compose the associated event.

SideEffects: Instead of composing event on a stack buffer of 512
bytes in size, a PAGE is allocated temporarily.

Bug: 27356456
Change-Id: Ic15a87f49385834c2287ed82c26439b2c5eb4f77
/system/core/liblog/Android.mk
bd1ad049b2494c70f671dbd6a0566f30dc420d1a 18-Feb-2016 Mark Salyzyn <salyzyn@google.com> liblog: event log list logging handler

Based off an initial request and effort by williamluh@google.com

- Added the following functions:

* Composing and Writing:

android_log_context create_android_logger(uint32_t tag)

int android_log_write_list_begin(android_log_context ctx)
int android_log_write_list_end(android_log_context ctx)

int android_log_write_int32(android_log_context ctx, int32_t value)
int android_log_write_int64(android_log_context ctx, int64_t value)
int android_log_write_string8(android_log_context ctx, const char *value)
int android_log_write_float32(android_log_context ctx, float value)

int android_log_write_list(android_log_context ctx, log_id_t id)

* Reading and Interpreting:

android_log_context create_android_log_parser(const char *msg, size_t len)

android_log_list_element android_log_read_next(android_log_context ctx)
android_log_list_element android_log_peek_next(android_log_context ctx)

* Destroy context used above:

int android_log_destroy(android_log_context *ctx);

- Added unit gTests

We moved implemented android_log_buffer_to_string() to the test since
it is an alternate for already existing logprint functionality.
Please move into liblog should it be of some common use, otherwise
as is it is a good means of stessing the reading and interpreting
handlers.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 19235719
Change-Id: I4aa1927e8e6a75f0a129d15a27c891cf1ccd4f5c
/system/core/liblog/Android.mk
0ee8de3c2df48c579a12e60299ff820ebf3db12a 06-Jan-2016 Mark Salyzyn <salyzyn@google.com> Revert "logd: liblog: whitelist "snet_event_log""

Callers will not guarantee that they can or will ratelimit, we need to
retain the ability to blacklist snet_event_log as a result.

This reverts commit 6aa21b225dd1600473388bd640443653d649420a.

Bug: 26178938
Change-Id: Ibf47d2e23a84c56f5f72d02312c698df7ff2b601
/system/core/liblog/Android.mk
6aa21b225dd1600473388bd640443653d649420a 23-Dec-2015 Mark Salyzyn <salyzyn@google.com> logd: liblog: whitelist "snet_event_log"

Dangerous bridge to cross to whitelist, who is special, who is not?
Rationalized as these events are used to catch exploits on platform.
As it stands no one should be allowed to block any messages in the
security context, not even for development purposes.

Bug: 26178938
Change-Id: Ibdc76bc0fe29ba05be168b623af1c9f41d7edbd2
/system/core/liblog/Android.mk
58558a59c918644f14af32df01d778e7cbfc6b19 28-Sep-2015 Dmitriy Ivanov <dimitry@google.com> Fix bug number for linker related workarounds

Bug: http:/b/24425865
Change-Id: I87e1af3cf39b5234647ecbbd5844c9d88eeb9200
/system/core/liblog/Android.mk
b0e4f0822638742fdfe8d92b2d8b59d4cda9a91e 11-Sep-2015 Stephen Hines <srhines@google.com> Ensure that libbase and liblog can be built for Windows.

Change-Id: If4adf1e2bd7ec36a7f02ae2e263d2db5187c6e7b
/system/core/liblog/Android.mk
87a419c8b1343c9025fe2593206a6e95b0aa9700 13-Aug-2015 Dan Willemsen <dwillemsen@google.com> Remove USE_MINGW/CYGWIN; Whitelist windows modules

CYGWIN is not supported, USE_MINGW and HOST_OS==windows are being
replaced with LOCAL_..._windows variables.

Bug: 23566667
Change-Id: I3e4a1e4097dc994cf5abdce6939e83a91758fd75
/system/core/liblog/Android.mk
964428c0a635c3b588547dfcf6ba166efa381412 13-Aug-2015 William Luh <williamluh@google.com> Add macro to call event logger for errors.

Bug:23180694
Change-Id: I566a290334345f48013029534efef3e08e726e40
/system/core/liblog/Android.mk
514243d5bd3f51e5696243799a072db66a962e4f 28-Jul-2015 Mark Salyzyn <salyzyn@google.com> liblog: deprecate TARGET_USES_LOGD

This is not the kernel logger you are loiking for

Bug: 22787659
Change-Id: Id65ed2e8e7ffe4b2be1bdeed65fa8db23bd66b51
/system/core/liblog/Android.mk
c744ef55478d7f4da37cb040f901cf3e9ec75dbb 11-Jun-2015 Evgenii Stepanov <eugenis@google.com> Fix SANITIZE_TARGET build of liblog.

* liblog does not use STL, don't link it.
* ASan runtime library depends on liblog, hence liblog can never be
sanitized.

Bug: 21785137
Change-Id: I1e97378c61d4d18d740287f5f0881427aa7cc227
/system/core/liblog/Android.mk
fd8afe6f31c4dd290d8bc68ce9848d73879f4f8a 08-May-2015 Dmitriy Ivanov <dimitry@google.com> Switch liblog.so to hash-style=both

Bug: http://b/19059885
Change-Id: I7cde911f11b09c3a13553154aca6e291bb91befb
/system/core/liblog/Android.mk
28a3b7cae01c101eb56458f78b0d03d9ceb3f243 13-Mar-2015 Dmitriy Ivanov <dimitry@google.com> Switch liblog to sysv-only hash style

Bug: 19059885
Change-Id: I5519a4e19716303692d4117bc24988f21d5a829e
/system/core/liblog/Android.mk
3947d5da3f98cd462c77c272d51cf4c01d9fcc65 10-Mar-2015 Goran Jakovljevic <goran.jakovljevic@imgtec.com> Generate gnu hash for arm only

Fixes mips build failure caused by:
https://android-review.googlesource.com/#/c/139580/

As previously discussed [1], MIPS does not support GNU-style ELF hashes.

[1] https://android-review.googlesource.com/#/c/49282/2/tests/Android.mk

Change-Id: I757fef1d47663da3e414f5771dfc580ea7aa3732
/system/core/liblog/Android.mk
692c0e41e18283a6e6857c8600a9c857f3004d59 10-Mar-2015 Dmitriy Ivanov <dimitry@google.com> Generate sysv hash for liblog

Bug: 19059885
Change-Id: I6fff4372504e3ca0d870c5cafe6f19d412787923
/system/core/liblog/Android.mk
1b79369877f91a2ac7e373a057409f0522faaa9d 05-Mar-2015 Mark Salyzyn <salyzyn@google.com> liblog: build cleanup

- Drop CYGWIN build checking
- Hard code the "liblog" event tag
- Drop use of internal WITH_MINGW

Change-Id: I7b63bd7fa4471f340f356b477a0e5e25fe83a851
/system/core/liblog/Android.mk
31dd00fcf5fe507b723fc179e61508dde1eb41cd 05-Mar-2015 Mark Salyzyn <salyzyn@google.com> liblog: logprint use <endian.h> part three

Fix host/sdk builds:
- Drop logprint from list of host products
- Drop <endian.h> for FAKE_LOG_DEVICE

Change-Id: I8aa854413ff6d809f0b04987cf913eb228e4213c
/system/core/liblog/Android.mk
d45d36e011bf2a42bffac07424d3990022287f3c 13-Feb-2015 Mark Salyzyn <salyzyn@google.com> liblog: Instrument logging of logd write drops

- If logger system is prostrated, send an event message with the
liblog tag from the associated UID and PID with a count of
dropped messages once logging is resumed.
- Added to the README a description of the error return values.
- Describe in the README the appropriate mitigations for dropped
messages.
- If the caller sees this message, then
/proc/sys/net/unix/max_dgram_qlen is likely too small

Change-Id: Iaf387b9e5e1b6aa93bebc7481f9e8353732e3229
/system/core/liblog/Android.mk
956870518ee89b5302b8409ac78f287bf091d9ed 02-Oct-2014 Mark Salyzyn <salyzyn@google.com> liblog: add __android_log_is_loggable()

- Add new liblog API __android_log_is_loggable(prio, tag, def)
- future plan to integrate this into the runtime checks and into
the logd daemon for filtration. Inert for now.

Bug: 17760225
Change-Id: I16395b4d42acc08f0209f55a1cbf87b0b2112898
/system/core/liblog/Android.mk
03cc1f747c4e92d572a88ec3eb9fde920e871a7e 21-Jul-2014 Stephen Hines <srhines@google.com> Remove invalid 64-bit host objects.

Bug: 16408818

These targets are no longer in use, since we have a proper way to create both
32-bit and 64-bit host libraries in a single build now.

Change-Id: Icd09f795acd220de5b5e956a8d8e1b4ab4864fa9
/system/core/liblog/Android.mk
59ec765382d800e84662f7b196b5bd053157b71a 05-Jun-2014 Ian Rogers <irogers@google.com> Host multilib build of both 32-bit and 64-bit libraries.

Change-Id: I54f91f385b109fc664a1a1f9320affb2a846fef1
/system/core/liblog/Android.mk
a04464adaf5b95ae953f8577632d3cf8aa2c80a3 30-Apr-2014 Mark Salyzyn <salyzyn@google.com> liblog: set -Werror

- Deal with some -Wunused issues
- Cleanup UNUSED to __unused transition

Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8314
/system/core/liblog/Android.mk
9f437d71812dd9907571d0cabd061153190ebbb9 08-May-2014 Ying Wang <wangying@google.com> Remove unused LOCAL_LDLIBS.

Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
/system/core/liblog/Android.mk
1c950479393d42d18829d4009dbdb3a7f03acbb7 02-Apr-2014 Mark Salyzyn <salyzyn@google.com> logd: liblog: logcat: enable prune features for user

- Enable whitelist, blacklist and logsize tuneables for user

Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
/system/core/liblog/Android.mk
5a6b8d15ea7fa8e4facf256f5cdedf2be900ec72 14-Mar-2014 Christopher Tate <ctate@google.com> Fix build some more

Missed one.

(cherry picked from commit f7f080ce62a4a448ef7ac6cc9bddfd55e615710a)

Change-Id: I33bf8bcc651330b9bc434da02c47c29bc0d54369
/system/core/liblog/Android.mk
dc507769b5ee3eeac8d2948ea98f6d53857e9d1a 14-Mar-2014 Christopher Tate <ctate@google.com> Fix the build

(cherry-picked from commit 296dc446376e19d2ce995ae7bc886560523eca2d)

Change-Id: I924f4796fbb70a0f45cc23a852e26e634c5b0e0e
/system/core/liblog/Android.mk
c0626fdcaf8e035421939a45c159c0c6a2f2f50a 14-Mar-2014 Mark Salyzyn <salyzyn@google.com> liblog: Build Breakage in sdk(linux)

- Build Breakage in branch: aosp-idea133 @ 1072786

Change-Id: I36da253b69a66977ec568a5f96d38b970c25fe3e
/system/core/liblog/Android.mk
fa3716b2501ccddc8e0cd30f6343692b8deb7639 15-Feb-2014 Mark Salyzyn <salyzyn@google.com> logd: liblog: logcat: Arbitrary time to tail

Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
/system/core/liblog/Android.mk
dfa7a07f5be656cfafdb4e75916bc9dcd9e592e7 11-Feb-2014 Mark Salyzyn <salyzyn@google.com> logd: liblog: logcat: Add LogWhiteBlackList

- liblog android_logger_get_log_size and android_logger_get_readable_size
adjusted to return long instead of int because of -G flag extending range

NB: ifdef'd only for userdebug and eng builds

- liblog Add android_logger_[sg]et_prune_list and android_logger_set_log_size
- logcat Add -P, -p and -G flags
- logd Add LogWhiteBlackList and configurable log size

(cherry picked from commit 18a5432158ad43b8faefe4950b30e760200ce0b4)

Change-Id: I1572338c1b34bd968ad7867857ef708156ec3b6a
/system/core/liblog/Android.mk
99ff9469c5900ca04b259f0edfc0a1f7fd46f3c0 12-Mar-2014 Mark Salyzyn <salyzyn@google.com> logd: default user space logger

Change-Id: I16825c26f098241376d4014f3a8e93174387dbcf
/system/core/liblog/Android.mk
154f4608aac6218af0e25c98b71d0803278c047e 20-Feb-2014 Mark Salyzyn <salyzyn@google.com> liblog: enable logging to logd.

* Modify liblog to send all messages to the new syslog user
space daemon.

Original-Change-Id: I0ce439738cd921efb2db4c1d6a289a96bdbc8bc2
Original-Change-Id: If4eb0d09409f7e9be3eb4bb7017073dc7e931ab4
Signed-off-by: Nick Kralevich <nnk@google.com>

* Add a TARGET_USES_LOGD make flag for BoardConfig.mk to manage
whether logd is enabled for use or not.
* rename syslog to logd to avert confusion with bionic syslog
* Add fake log support back in
* prefilter for logging messages from logd
* Fill in timestamps at logging source
* update abstract log reader
* switch from using suffix for id to v3 format
* log a message when creating devices that a deprecated interface
is being utilized.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>

(cherry pick from commit 099e2c1f6f706a8600c1cef74cce9066fc315480)

Change-Id: I47929a5432977a1d7235267a435cec0a7d6bd440
/system/core/liblog/Android.mk
819c58a8ca20f94700085b8967f371f5854a5216 22-Nov-2013 Mark Salyzyn <salyzyn@google.com> liblog: Add liblog test suite

(cherry picked from commit 8d1fdb509305e93eb46d45a6dcd34bedd6dc0742)

Change-Id: Ia457d518b4e7ff37e840336ff0c48583709700d4
/system/core/liblog/Android.mk
11aa6ee98c5cc67e149acb7c634f6c2546678c00 04-Jan-2014 Colin Cross <ccross@android.com> liblog: fix build again

log_read.c has to be in the target sources on all platforms, but
never needs to be in the host sources.

(cherry picked from commit 3c37fae4a472835c8e20060e1e6b7495b84f254a)

Change-Id: Ie0829f3f1daf16d151c401653dbef603b1c2f59d
/system/core/liblog/Android.mk
015c8e76ca068bd4c68ad17a762698542d0c037c 04-Jan-2014 Mark Salyzyn <salyzyn@google.com> liblog: git_master@964770 build problem

- darwin does not get log reader

(cherry picked from commit 5feea6890875c9046f40bdadc0dbd4a411e7f3f5)

Change-Id: I64eb69a6099a88d2acf501de725c35741fd7e551
/system/core/liblog/Android.mk
4295841ebe68a2ebf50ed7adf0a603c523d5af52 22-Nov-2013 Mark Salyzyn <salyzyn@google.com> liblog: Interface to support abstracting log read

(cherry picked from commit 6c1b07fbbd0ccce0e4fdf79abd38494cc622d67e)

Change-Id: Iedc55c1316029b4bb72f51cc656b53b0e3f90aee
/system/core/liblog/Android.mk
9227bd385504ace739d4451a6c5dc3d777b5bf21 24-Jul-2013 Colin Cross <ccross@android.com> Move liblog headers to system/core/include/log

Move the liblog headers to log/ instead of cutils/ to complete
the separation of libcutils and liblog. cutils/log.h still
exists and includes log/log.h in order to support the many existing
modules that use cutils/log.h.

Change-Id: I2758c9f4aedcb809ca7ba8383d0f55041dd44345
/system/core/liblog/Android.mk
f82e74116314c4def32013495337c038f6c6ee6c 14-Jul-2011 Elliott Hughes <enh@google.com> Make a liblog.so for the host too.

Change-Id: I0317bb3b80c6555bcb1ff9f2238f32be5f7adedb

Conflicts:

liblog/Android.mk
/system/core/liblog/Android.mk
99e7f7af84b324034af348cbb7a180848cca2ebb 02-Mar-2012 Andrew Hsieh <andrewhsieh@google.com> Added rules to build 64-bit libraries: lib64cutils.a and lib64log.a

Both libraries are needed to build four shared libraries in 64-bit
for 64-bit emulator with "-gpu on"
lib64OpenglRender.so
lib64EGL_translator.so
lib64GLES_CM_translator.so
lib64GLES_V2_translator.so

Change-Id: If57f72d4661a74f1d5e537568881f39132e0b43d
/system/core/liblog/Android.mk
29e1e7393d1742f9dd5663c63026f50981e5bd89 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
/system/core/liblog/Android.mk
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/liblog/Android.mk
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/liblog/Android.mk
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/liblog/Android.mk