nsh/memdump: support dynamic turn on/off backtrace in heap

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong 2022-03-17 15:13:44 +08:00 committed by Xiang Xiao
parent cbc9163266
commit de61706552

View File

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