platform_system_core/debuggerd
Josh Gao 5675f3c321 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
2017-06-01 12:42:44 -07:00
..
client debuggerd_client: increase pipe buffer size to max. 2017-06-01 12:42:44 -07:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
handler tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
include/debuggerd tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
libdebuggerd libdebuggerd: print the build fingerprint in fallback. 2017-05-08 13:15:19 -07:00
tombstoned tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crash_dump.cpp crash_dump: don't notify ActivityManager if it crashed. 2017-06-01 12:42:33 -07:00
debuggerd.cpp tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
debuggerd_test.cpp debuggerd_client: increase pipe buffer size to max. 2017-06-01 12:42:44 -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
protocol.h tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
signal_sender.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
util.cpp tombstoned: Add a shared library version of libtombstoned_client... 2017-05-22 16:55:21 +01:00
util.h tombstoned: Add a shared library version of libtombstoned_client... 2017-05-22 16:55:21 +01:00