summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2017-02-17 13:15:51 -0800
committerMark Salyzyn <salyzyn@google.com>2017-02-22 15:10:56 -0800
commite3d0c968ac4bf6de2a0cacfb956ee5d8df8e7583 (patch)
tree6b26a1222f9f0591765111c0fa1bfb36c95574ea /libutils/ProcessCallStack.cpp
parent3e3aaca4c3f48a36d3725441d9d487d7aa0e7209 (diff)
liblogcat: add simple stdout redirection
Provide minimal redirection functionality, adding stdout redirection to the existing stderr redirection parsing. - stderr and stdout redirection do _not_ support append, will treat like write only. - stderr redirection does _not_ support filename. Only 2>&1 to join stderr and stdout and 2>/dev/null to drop content on floor. - stdout redirection supports filename only. - stderr 2>&1 redirection must be last for shell compatibility. - preserve 2>&1 through file rotation (bugfix) Test: logcat-benchmarks --benchmark_filter='BM_logcat_popen*|BM_logcat_system*' Bug: 35326290 Change-Id: Id36b59358167f21381bd1dbf0bd7a7e10e2a2ed9
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions