android_system_core/debuggerd
Josh Gao bf2dd48241 crash_dump: during early boot, output to kmsg on userdebug.
Crashes that happen before tombstoned is running are extremely hard to
diagnose, because tombstones aren't written to disk, and the window of
opportunity to get logs via `adb logcat` is small (potentially
nonexistent).

Solve this by adding a world-writable /dev/kmsg_debug on userdebug
builds, and writing to it in addition to logcat when tombstoned hasn't
started yet.

Bug: http://b/36574794
Test: stop tombstoned; crasher; dmesg
Change-Id: Ib22c02a002afb602933155fb2c9b7a8abbe9ed38
2017-04-06 15:00:52 -07:00
..
client debuggerd_client: fix infinite timeouts. 2017-04-04 14:08:54 -07:00
crasher Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
handler "Requested dump for tid XXX" message shouldn't be fatal. 2017-03-23 23:04:27 -07:00
include/debuggerd debuggerd_client: fix infinite timeouts. 2017-04-04 14:08:54 -07:00
libdebuggerd crash_dump: during early boot, output to kmsg on userdebug. 2017-04-06 15:00:52 -07:00
tombstoned tombstoned: fix a race between intercept and crash_dump. 2017-03-30 16:49:02 -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 16:49:19 -07:00
crash_dump.cpp crash_dump: fetch process/thread names before dropping privileges. 2017-03-15 23:30:14 -07:00
debuggerd.cpp Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
debuggerd_test.cpp Merge changes Ib8369088,I743433bc 2017-04-05 04:20:14 +00: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
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