No description
Find a file
Mark Salyzyn a073c39616 logcatd: introduce logcatd executable
logcatd is the same as logcat, except that the -L flag, if supplied,
runs once, then the command re-runs itself without the -L flag with
the same argument set.  By introducing a logcatd daemon executable
we can solve the problem of the longish reads from pstore that
sometimes occur when the system is excessively busy, starving this
background cgroup daemon as we absorb the delay in a backgrounded
init "service", rather than in a forgrounded init "exec".  This would
not have been efficiently possible without the introduction of
liblogcat.

There are no doubt many flags that make no sense to run twice with,
and without, the -L flag.  In the general sense we expect the caller
to perform the correct set of operations and not pick these nonsense
operations.  logcatd is only supplied on engineering and debug builds
for logpersist, and is only an automated aid to triage.

Test: gTest logcat-unit-tests
Test: manual confirm logpersist functions as expected, required reboot
Bug: 28788401
Bug: 30041146
Bug: 30612424
Bug: 35326290
Change-Id: I53ba31970749daf37eef42636f039f485932416f
2017-04-04 08:01:50 -07:00
adb Merge "Show install path in "adb --version" and "fastboot --version"." 2017-04-04 01:16:11 +00:00
adf libadfhwc: Fix adf_hwc_close 2017-03-02 17:40:16 +00:00
base bootstat: Refactor init/utils/boot_clock into base/chrono_utils. 2017-03-30 14:24:12 -07:00
bootstat bootstat: Refactor init/utils/boot_clock into base/chrono_utils. 2017-03-30 14:24:12 -07:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd debuggerd_test: add test for process/thread names. 2017-04-03 13:18:34 -07:00
demangle Make demangle work more like c++filt. 2017-03-28 17:38:01 -07:00
fastboot Merge "Show install path in "adb --version" and "fastboot --version"." 2017-04-04 01:16:11 +00:00
fingerprintd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
fs_mgr Merge "fs_mgr: removing fs_mgr_read_fstab_with_dt()" 2017-04-01 03:05:25 +00:00
gatekeeperd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
healthd healthd: Implement scheduleUpdate 2017-03-22 12:15:11 -07:00
include Merge "libziparchive: Add ability to backup in ZipWriter" 2017-03-23 17:59:47 +00:00
init Merge "init: Use std::string for write_file()" 2017-04-04 02:21:55 +00:00
libappfuse Add permission bits to open() with O_CREAT. 2017-02-08 23:44:29 -08:00
libbacktrace Merge "Test unwinding through a signal handler." 2017-03-24 17:22:25 +00:00
libbinderwrapper Convert libbinderwrapper_test_support to be a static library 2017-03-03 17:14:04 -08:00
libcrypto_utils Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
libcutils Revert "Allocate GID to use reserved disk space." 2017-04-03 04:00:36 +00:00
libdiskconfig liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libion liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
liblog Merge "liblog: Speed up and extend the radio log redirect code" 2017-04-03 14:21:57 +00:00
libmemtrack liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libmemunreachable liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libmetricslogger libmetricslogger: Use libBionicGtestMain instead of a custom test runner. 2017-02-13 13:41:44 -08:00
libnativebridge Set libnativebridge style to clang-format-2 2017-03-29 17:29:57 -07:00
libnativeloader Set libnativeloader style to clang-format-2 2017-03-29 17:33:12 -07:00
libnetutils liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpackagelistparser liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpixelflinger liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libprocessgroup add killProcessGroupOnce 2017-03-29 16:33:15 -07:00
libprocinfo Enable more modules on linux_bionic builds 2017-03-15 15:44:00 -07:00
libsparse Remove "_host" and "_static" suffix from libsparse definition. 2017-01-11 19:15:11 -08:00
libsuspend liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libsync libsync: Replace inserting tuple into unordered_map in favour of pair. 2017-01-30 23:39:03 +00:00
libsysutils There's no longer a limit to property names. 2017-02-28 14:12:54 -08:00
libunwindstack Add DwarfMemory class. 2017-03-24 14:07:21 -07:00
libusbhost usb-bulk-transfer: Clarify sign-iy-ness of param 2016-09-21 15:51:35 +00:00
libutils logd: ASAN cleansing 2017-03-27 13:32:57 -07:00
libziparchive libziparchive: fix mac os breakage 2017-03-23 12:02:09 -07:00
lmkd liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
logcat logcatd: introduce logcatd executable 2017-04-04 08:01:50 -07:00
logd Merge changes Ic590c230,Ibd4be82b 2017-04-03 14:21:41 +00:00
logwrapper Merge "logwrapper: add a benchmark for android_fork_execvp_ext" 2017-03-23 11:56:10 +00:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
qemu_pipe DO NOT MERGE ANYWHERE Qemu: make the qemu_pipe_open compatible with old apis 2017-03-02 20:46:04 -08:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir init.rc: launch update_verifier with exec_start 2017-03-28 15:54:45 -07:00
run-as Define range of GIDs for cached app data. 2016-12-13 13:28:08 -07:00
sdcard Merge "Switch sdcardfs over to bind mounts." 2016-11-30 05:20:40 +00:00
shell_and_utilities Switch to a shell_and_utilities phony module. 2017-04-03 17:14:26 +00:00
toolbox Revert "Only allow system to write to existing input nodes." 2017-02-21 17:12:59 +00:00
trusty trusty: use log/log.h for ALOG macros 2017-01-13 07:30:11 -08:00
tzdatacheck Update to support staging behavior 2017-03-29 10:56:45 +01:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk init.rc: have hwservicemanager start the HAL class 2016-09-26 00:23:51 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00