forked from nuttx/nuttx-update
sched/assert: Change show_xxx to dump_xxx
align with other function in assert.c Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
f763cb118d
commit
620d61bd4b
1 changed files with 6 additions and 6 deletions
|
@ -184,10 +184,10 @@ static void dump_stack(FAR const char *tag, uintptr_t sp,
|
|||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: show_stacks
|
||||
* Name: dump_stacks
|
||||
****************************************************************************/
|
||||
|
||||
static void show_stacks(FAR struct tcb_s *rtcb, uintptr_t sp)
|
||||
static void dump_stacks(FAR struct tcb_s *rtcb, uintptr_t sp)
|
||||
{
|
||||
#if CONFIG_ARCH_INTERRUPTSTACK > 0
|
||||
uintptr_t intstack_base = up_get_intstackbase();
|
||||
|
@ -394,10 +394,10 @@ static void dump_backtrace(FAR struct tcb_s *tcb, FAR void *arg)
|
|||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: showtasks
|
||||
* Name: dump_tasks
|
||||
****************************************************************************/
|
||||
|
||||
static void show_tasks(void)
|
||||
static void dump_tasks(void)
|
||||
{
|
||||
#if CONFIG_ARCH_INTERRUPTSTACK > 0 && defined(CONFIG_STACK_COLORATION)
|
||||
size_t stack_used = up_check_intstack();
|
||||
|
@ -610,7 +610,7 @@ void _assert(FAR const char *filename, int linenum,
|
|||
up_dump_register(regs);
|
||||
|
||||
#ifdef CONFIG_ARCH_STACKDUMP
|
||||
show_stacks(rtcb, up_getusrsp(regs));
|
||||
dump_stacks(rtcb, up_getusrsp(regs));
|
||||
#endif
|
||||
|
||||
/* Flush any buffered SYSLOG data */
|
||||
|
@ -619,7 +619,7 @@ void _assert(FAR const char *filename, int linenum,
|
|||
|
||||
if (fatal)
|
||||
{
|
||||
show_tasks();
|
||||
dump_tasks();
|
||||
|
||||
#ifdef CONFIG_ARCH_DEADLOCKDUMP
|
||||
/* Deadlock Dump */
|
||||
|
|
Loading…
Reference in a new issue