nsh/memdump: support dynamic turn on/off backtrace in heap
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
cbc9163266
commit
de61706552
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user