Skip to content

Commit

Permalink
coredump: just save latest core file
Browse files Browse the repository at this point in the history
Signed-off-by: wanggang26 <[email protected]>
  • Loading branch information
wanggang26 authored and xiaoxiang781216 committed Sep 15, 2024
1 parent 2c24e5b commit f07a186
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sched/misc/coredump.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,6 @@ static void coredump_dump_blkdev(pid_t pid)
}

info = (FAR struct coredump_info_s *)g_blockinfo;
if (info->magic == COREDUMP_MAGIC)
{
_alert("Coredump exists in %s, skip\n",
CONFIG_BOARD_COREDUMP_BLKDEV_PATH);
return;
}

#ifdef CONFIG_BOARD_COREDUMP_COMPRESSION
lib_lzfoutstream(&g_lzfstream,
Expand Down

0 comments on commit f07a186

Please sign in to comment.