support memdump can dump by seq number

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao
2023-05-09 12:06:05 +08:00
committed by Xiang Xiao
parent db767b6f45
commit e68d5ffb98
2 changed files with 14 additions and 4 deletions

View File

@@ -224,7 +224,8 @@ static const struct cmdmap_s g_cmdmap[] =
#ifdef CONFIG_DEBUG_MM
# ifndef CONFIG_NSH_DISABLE_MEMDUMP
{ "memdump", cmd_memdump, 1, 3, "[pid/used/free/on/off]" },
{ "memdump", cmd_memdump, 1, 4, "[pid/used/free/on/off]"
" <minseq> <maxseq>"},
# endif
#endif