summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-03-28 13:07:15 -0700
committerJosh Gao <jmgao@google.com>2017-04-06 15:00:52 -0700
commitbf2dd482412cb7b93f52d2ed2d9be9a32fa8d2f9 (patch)
tree13e597ec30c32adb760606ef1ddb99bc0a989aa4 /trusty/coverage/coverage.cpp
parentebc87c98e35327e7403ed767c935a8e6a02b6f03 (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: Ib22c02a002afb602933155fb2c9b7a8abbe9ed38
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions