platform_system_core/logcat
Mark Salyzyn f9dbdbc5f5 liblogcat: redirect logcat output correctly for -Q
The -Q option is used in emulator and it fails to redirect the
output of logcat to the desired file.

This CL fixes that problem.

There is no gTest because of /proc/cmdline sniffing for this option.
manually tested on /dev/qemu_pipe inside emulator

Test: manual
Bug: 35326290
Change-Id: I282da685e90450aadb2a989a0517dc3b1bb6634d
2017-02-22 01:21:02 +00:00
..
include/log liblogcat: add android_logcat_popen and android_logcat_system 2017-02-17 14:42:14 -08:00
tests liblogcat: LOCAL_C_INCLUDE_DIRS correction 2017-02-21 08:48:29 -08:00
.clang-format logcat: Add coding style 2017-02-17 14:42:14 -08:00
Android.mk liblogcat: LOCAL_C_INCLUDE_DIRS correction 2017-02-21 08:48:29 -08:00
event.logtags Add float support to binary event log. 2015-04-28 18:20:48 -07:00
logcat.cpp liblogcat: redirect logcat output correctly for -Q 2017-02-22 01:21:02 +00:00
logcat_main.cpp logcat: Create liblogcat 2017-02-17 14:42:14 -08:00
logcat_system.cpp liblogcat: add android_logcat_popen and android_logcat_system 2017-02-17 14:42:14 -08:00
logcatd.rc resolve merge conflicts of 5f6dbd9 to nyc-mr1-dev-plus-aosp 2016-08-08 13:10:35 -07:00
logpersist logcatd: fix up logpersist.cat to filter out signature file 2016-08-08 10:20:22 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00