summaryrefslogtreecommitdiffstats
path: root/init/devices.c
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2011-10-18 20:03:07 -0700
committerAndy McFadden <fadden@android.com>2011-10-18 20:20:14 -0700
commite5cc5396e83d12b7ca02ff6096a9950807aa010d (patch)
tree650b8cdf4aa7060d055615c2ce5d2079aaf89579 /init/devices.c
parentf2eae5a860ebdf0dd47669c9bf58b8824b57728c (diff)
downloadcore-e5cc5396e83d12b7ca02ff6096a9950807aa010d.tar.gz
core-e5cc5396e83d12b7ca02ff6096a9950807aa010d.tar.bz2
core-e5cc5396e83d12b7ca02ff6096a9950807aa010d.zip
Add log summary to tombstones
When the tombstones are uploaded to APR, they're truncated at 64KB. This causes the log data, which is at the end, to be lost if the process has more than about 12 threads (which many do). This change adds the last few lines of the log right below the report for the crashing thread, where we should be guaranteed to keep it. Also, clean up trailing newlines on log messages (which end up in the tombstone), and don't print a "------- log" banner if there aren't any messages in that log file (e.g. slog). Also also, don't try to show_nearby_maps unless this is the crashing thread. Bug 5471955 Change-Id: Iaa4fd2fafbaeda2f20bb95f202177d7744a91f9d
Diffstat (limited to 'init/devices.c')
0 files changed, 0 insertions, 0 deletions