mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-31 22:23:06 +00:00
system/coredump:upload kernal coredump change
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
b99f92bac5
commit
9752b57714
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
menuconfig SYSTEM_COREDUMP
|
||||
tristate "Coredump tool capture system status"
|
||||
default n
|
||||
depends on ELF_COREDUMP
|
||||
depends on COREDUMP
|
||||
|
||||
if SYSTEM_COREDUMP
|
||||
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ static int coredump_now(int pid, FAR char *filename)
|
|||
|
||||
/* Do core dump */
|
||||
|
||||
core_dump(NULL, stream, pid);
|
||||
coredump(NULL, stream, pid);
|
||||
setlogmask(logmask);
|
||||
# ifdef CONFIG_BOARD_COREDUMP_COMPRESSION
|
||||
printf("Finish coredump (Compression Enabled).\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue