| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I8aae6c3e1ccc2294f4db455e1b4f3b4c34a00aaf
|
|
|
|
|
|
|
| |
- Deal with some -Wunused issues
- Cleanup UNUSED to __unused transition
Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8314
|
|
|
|
| |
Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
|
|
|
|
|
|
|
| |
This is more general and will work for anyone's custom logging
code, as long as they use ANDROID_LOG_FATAL priority.
Change-Id: Iaf7fc0858fce04f3af407882a58ee5a827d50ddd
|
|
|
|
| |
Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8315
|
|
|
|
| |
Change-Id: Ia778c43513a28c85ae54e96926ee9ed56717d527
|
|
|
|
|
| |
Bug: 14280914
Change-Id: Idddd29784625094e54144953c29f64692a88eee9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This makes LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF as good as regular
assert(3).
Change-Id: I0666684d30cae7baf23c64b33d35c1e43f81acf0
|
|/
|
|
|
|
|
|
|
|
|
| |
- if network read/write broken up, reassemble the pieces.
- Use a 20ms poll to check if a new fragment has been
sent by the other side.
- fixup logd-unit-tests to take a (simplified) fragment
from the liblog changes.
Bug: 14164765
Change-Id: I98ff87888c119e1e8349717646d0f733e8971bc8
|
|
|
|
| |
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
|
|
|
|
| |
Change-Id: I4011607858f3a82acc04509c9f795f960496ed69
|
|
|
|
|
|
| |
- Enable whitelist, blacklist and logsize tuneables for user
Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
- API change, return -errno on failure for log writing
- ENOTCONN results in a reconnection and a retry of the write
Change-Id: Ib0a90b730edeaa7e3a3c9797e4e1b0c81b6adb0a
|
|/
|
|
|
|
|
|
|
| |
- Add max_payload test
- Add dual_reader test
- Switch to EXPECT from ASSERT to increase test coverage
Bug: 13514601
Change-Id: I0e1c273e0ec430c0461e424731dbf166f2a3ce1b
|
|
|
|
|
|
|
| |
- stuff caller's thread id into the packet.
Bug: 13568206
Change-Id: I02d0cdf9b1d9e839ff8969f591db42dfe6e4cc95
|
|
|
|
|
|
|
|
|
| |
1. socket() failures should skip close(), since sock is not an open fd
2. on other I/O related failures, preserve errno around the close() call
3. set errno to a meaningful value on check_log_success() failure
Change-Id: I0fb9e726ae5fee2f7b84344aa925e5159d57c360
Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
|
|
|
|
|
|
|
| |
Missed one.
(cherry picked from commit f7f080ce62a4a448ef7ac6cc9bddfd55e615710a)
Change-Id: I33bf8bcc651330b9bc434da02c47c29bc0d54369
|
|
|
|
|
|
| |
(cherry-picked from commit 296dc446376e19d2ce995ae7bc886560523eca2d)
Change-Id: I924f4796fbb70a0f45cc23a852e26e634c5b0e0e
|
|
|
|
|
|
| |
- Build Breakage in branch: aosp-idea133 @ 1072786
Change-Id: I36da253b69a66977ec568a5f96d38b970c25fe3e
|
|
|
|
| |
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
- logd add statistical collection and formatting
- liblog add android_logger_get_statistics call
- logcat add -S flag
- logcat add -b all
(cherry picked from commit 51a29c8dc445e4fb89860561933e54a231e6ffb4)
Change-Id: I521753b1969ecd4590c956aeeb1557d101059d67
|
|
|
|
| |
Change-Id: I16825c26f098241376d4014f3a8e93174387dbcf
|
|
|
|
|
|
|
|
|
| |
- structure packing
- move towards log_time from struct timespec
- extend log_time to cover differences between
log_time and struct timespec
Change-Id: I106ed0b609917306d170044054b5b32645f2a295
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat
warnings.
Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
|
|
|
|
| |
Change-Id: I7315b35049924d5067203a432584b8f29e5a1391
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* changes:
libsysutils: SocketListener export release
libsysutils: Add iovec/runOnEachSocket
liblog: support struct logger_event_v2 format
liblog: update timestamp on NOTICE file
libcutils: resolve warning in iosched_policy.c
liblog: Add const pedantics
logcat: Add -T flag (-t w/o assumption of -d)
logcat: Add logcat test suite
liblog: Add cpu utilization test
liblog: Add liblog test suite
debuggerd: Support newline split in log messages
liblog: deprecate export LOGGER ioctl definitions
liblog: deprecate export of LOGGER_LOG_* defines
liblog: Add README
liblog: resolve build warning messages
liblog: high CPU usage from logcat
liblog: fix build again
liblog: drop use of sys/cdefs.h
liblog: git_master@964770 build problem
logcat: Incorporate liblog reading API
debuggerd: Incorporate liblog reading API
liblog: Interface to support abstracting log read
adb: deprecate legacy log service interface
adb: regression from Move list.c to inlines
liblog: whitespace cleanup
libcutils: bug str_parms.c:str_parms_get_float().
libcutils: UNUSED argument warnings
libsysutils: Get rid of warnings
libcutils: Move list.c to inlines on list.h
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit c176e14ce3fd28432e2eaca7bc7a60046dd8be40)
Change-Id: I34c96adffab3478dae8f5a2597a840caad5092cc
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit b69e092dc75b643d95538929b38da6f647e79351)
Change-Id: I776509232aaa50e14fe79e45ab133c0ea3985933
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- followup to measure CPU utilization in liblog to
ensure this issue gets caught before a regression
passes into the labs. Threshold for failure is 1%.
(cherry picked from commit edadb2e7196040dd476e86581dc1c8e26449c00d)
BUG: 12457855
Change-Id: I40568a72aeef2f554b19ad55f3dd3c02bc023f24
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 8d1fdb509305e93eb46d45a6dcd34bedd6dc0742)
Change-Id: Ia457d518b4e7ff37e840336ff0c48583709700d4
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 2e44a9ea2518024a07f38c2cc6066ec2074d5210)
Change-Id: I150cad9309255bec2b8bc7230c744e9bbb1b9578
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 73459a5c87dc9e7c2aeee00597b9d3cc8d9a190e)
Change-Id: I263af8e889f8f2ad91b91757caf90a4d17823dab
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 912c88cc5abde3fb7e09a810491c3285b3bd4a64)
Change-Id: I9d789e08e9301ec8afa7be8bede955379694b904
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 153b370624c3da0660281f692fbe3f2da96cfd70)
Change-Id: Icc6f1f2c926a008efc4df71022cfde8d0e285880
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BUG: 12457855
- log_read.c poll timeout should be -1 instead of 0 when idling
(cherry picked from commit 080bbfab94ce91e4845860d5253eea6d869bbc18)
Change-Id: I9082a15fae0fbf999c0ed516950a49d65a279298
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
- darwin does not get log reader
(cherry picked from commit 5feea6890875c9046f40bdadc0dbd4a411e7f3f5)
Change-Id: I64eb69a6099a88d2acf501de725c35741fd7e551
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 6c1b07fbbd0ccce0e4fdf79abd38494cc622d67e)
Change-Id: Iedc55c1316029b4bb72f51cc656b53b0e3f90aee
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- change cutils to liblog directory path
- change tabs to spaces
(cherry picked from commit c1215c0b46576771370ceb4e1b1d8fc5a7034cfd)
Change-Id: I7d9db1e2b817ba0ec9a224340c5c7535a2387fd5
|
|/
|
|
|
|
|
| |
- Implicit decleared function
- Unused variable
Change-Id: Ia701e66682cb6788f0716a2ef7556ed07227f78f
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
File descriptors remain open across an exec unless FD_CLOEXEC is
set. Add O_CLOEXEC to the open() call to prevent file descriptor
leakage.
In particular, the following program will eventually run out of
file descriptors:
int main(int argc, char **argv) {
printf("===== entering main =====\n");
ALOGW("entering main");
system("ls -l /proc/self/fd/");
execv(argv[0], argv);
printf("exec failed\n");
return -1;
}
Change-Id: I5be43ab3b9f82a05f242b1f586454c50568af388
|
|
|
|
|
|
|
| |
Changing __android_log_write so the tag warns users relying on the
tag to direct log output to the radio buffer to instead use Rlog or RLOG.
Change-Id: I04b7bb5e620c1ab22b9b495382a252b539947e28
|
|
|
|
|
| |
Bug: 6497974
Change-Id: I7fba1a07e2552ce16131b81f30d18eb3192de7ef
|
|
|
|
|
| |
Bug: 6497974
Change-Id: I4691f287b0abdce03ff211bd5b5b0037b8818ec9
|
|
|
|
|
|
|
|
| |
Change-Id: I0317bb3b80c6555bcb1ff9f2238f32be5f7adedb
Conflicts:
liblog/Android.mk
|