commit | 4ff5bae056a55a2fe6f778f31743871f65c8b8e6 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Jun 01 12:19:53 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Jun 01 12:42:44 2017 -0700 |
tree | 9453ac0ed689d7084b73ede163d29dd3a5d274d0 | |
parent | 7ec1b9e56b7edf4c145eb60cc48086652ffb6efd [diff] |
debuggerd_client: increase pipe buffer size to max. If a process tries to dump itself (e.g. system_server during ANRs), crash_dump will block trying to write to its pipe if it's not sufficiently large. Increase the pipe size to the max, and add a test to make sure that it's always at least 1MB (the default value). Bug: http://b/38427757 Test: debuggerd_test Change-Id: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119