diff options
author | Craig Dooley <dooleyc@google.com> | 2022-06-08 21:03:16 +0000 |
---|---|---|
committer | Bryan Lavrich <lavrich@google.com> | 2022-06-10 17:58:36 +0000 |
commit | f01dd8ae031cd98def967ace4392bb9b8046d64f (patch) | |
tree | cb652e1620ac156f5ea7d33a6534ff744564a163 | |
parent | 7a62d82020534a522177e4c0b6415c53462ee301 (diff) | |
download | aoc-f01dd8ae031cd98def967ace4392bb9b8046d64f.tar.gz |
Log the breadcrumbs for incomplete coredumps
Bug: 234718456
Signed-off-by: Craig Dooley <dooleyc@google.com>
Change-Id: I7518332cfe5fc8304e0ee143828533ee14a1bf24
-rw-r--r-- | aoc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2537,8 +2537,9 @@ static void aoc_watchdog(struct work_struct *work) dev_err(prvdata->dev, "aoc coredump timed out, coredump only contains DRAM\n"); snprintf(crash_info, RAMDUMP_SECTION_CRASH_INFO_SIZE, - "AoC watchdog : %s (incomplete)", - crash_reason_valid ? crash_reason : "unknown reason"); + "AoC watchdog : %s (incomplete %u:%u)", + crash_reason_valid ? crash_reason : "unknown reason", + ramdump_header->breadcrumbs[0], ramdump_header->breadcrumbs[1]); } if (ramdump_header->valid && memcmp(ramdump_header, RAMDUMP_MAGIC, sizeof(RAMDUMP_MAGIC))) { |