summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-03-28 13:07:15 -0700
committerTom Cherry <tomcherry@google.com>2017-08-11 13:29:38 -0700
commit3e76ecaf805f4514d65022deb2e304c95ca00bba (patch)
treea6fd648e00e3983d0dcf3b033b26d5dca58fc6af /init/builtins.cpp
parent6b6c2f1efbd8320073d75ac1431b3092d420e2fe (diff)
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
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions