android_system_core/debuggerd
Josh Gao 3e76ecaf80 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: I46ba2dd67c188be74bd931f8a5536b6342d537f2
2017-08-11 13:29:38 -07:00
..
client crash_dump: lower THREAD_COUNT in debuggerd_client.race for low-speed devices 2017-06-23 08:59:22 +09:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Stop asking for old versions of C++ in system/core. 2017-08-02 14:06:28 -07: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 crash_dump: during early boot, output to kmsg on userdebug. 2017-08-11 13:29:38 -07:00
tombstoned Merge "Allow configuration of the number of tombstones." 2017-06-27 20:57:08 +00:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Remove unnecessary SELinux dependencies 2017-07-01 07:41:48 -07:00
crash_dump.cpp Debuggerd: Extend crash_dump timeout to 5 seconds 2017-06-23 06:22:08 +00:00
debuggerd.cpp Remove unnecessary SELinux dependencies 2017-07-01 07:41:48 -07:00
debuggerd_test.cpp Debuggerd: Fix debuggerd_test 2017-06-23 10:49:19 -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