platform_system_core/debuggerd
Josh Gao a1c9e943c0 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
Merged-In: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
Change-Id: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
(cherry picked from commit 5675f3c321)
2017-06-01 16:26:23 -07:00
..
client debuggerd_client: increase pipe buffer size to max. 2017-06-01 16:26:23 -07:00
crasher Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
handler debuggerd_handler: use syscall(__NR_get[pt]id) instead of get[pt]id. 2017-05-10 17:30:00 -07:00
include/debuggerd debuggerd_client: fix infinite timeouts. 2017-04-04 21:22:09 -07:00
libdebuggerd libdebuggerd: print the build fingerprint in fallback. 2017-05-10 17:30:00 -07:00
tombstoned tombstoned: fix a race between intercept and crash_dump. 2017-03-30 17:52:24 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp tombstoned: add tests for b/36685795. 2017-03-30 17:52:24 -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
crash_dump.cpp crash_dump: don't notify ActivityManager if it crashed. 2017-06-01 16:26:10 -07:00
debuggerd.cpp Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
debuggerd_test.cpp debuggerd_client: increase pipe buffer size to max. 2017-06-01 16:26:23 -07:00
signal_sender.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
tombstoned_client.cpp debuggerd_handler: implement missing fallback functionality. 2017-03-09 11:26:05 -08:00
util.cpp debuggerd_handler: implement missing fallback functionality. 2017-03-09 11:26:05 -08:00