platform_system_core/debuggerd/libdebuggerd
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
..
arm libdebuggerd: implement fallback register dumping on arm/aarch64. 2017-05-08 13:15:19 -07:00
arm64 libdebuggerd: implement fallback register dumping on arm/aarch64. 2017-05-08 13:15:19 -07:00
include libdebuggerd: implement fallback register dumping on arm/aarch64. 2017-05-08 13:15:19 -07:00
mips debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
mips64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
test Cleanup the libbacktrace interface a bit. 2017-07-19 15:36:32 -07:00
x86 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
x86_64 debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
backtrace.cpp crash_dump: fetch process/thread names before dropping privileges. 2017-03-15 23:30:14 -07:00
elf_utils.cpp debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
open_files_list.cpp debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
tombstone.cpp Cleanup the libbacktrace interface a bit. 2017-07-19 15:36:32 -07:00
utility.cpp crash_dump: during early boot, output to kmsg on userdebug. 2017-08-11 13:29:38 -07:00