diff --git a/arch/arm/src/common/arm_assert.c b/arch/arm/src/common/arm_assert.c index 5f56d8088c..5dd24ea275 100644 --- a/arch/arm/src/common/arm_assert.c +++ b/arch/arm/src/common/arm_assert.c @@ -201,10 +201,10 @@ static void arm_dump_task(struct tcb_s *tcb, void *arg) #ifdef CONFIG_SMP " %4d" #endif + " %7lu" #ifdef CONFIG_STACK_COLORATION " %7lu" #endif - " %7lu" #ifdef CONFIG_STACK_COLORATION " %3" PRId32 ".%1" PRId32 "%%%c" #endif @@ -212,21 +212,21 @@ static void arm_dump_task(struct tcb_s *tcb, void *arg) " %3" PRId32 ".%01" PRId32 "%%" #endif #if CONFIG_TASK_NAME_SIZE > 0 - " %s %s\n", + " %s %s\n" #else - " %s\n", + " %s\n" #endif - tcb->pid, tcb->sched_priority, + , tcb->pid, tcb->sched_priority #ifdef CONFIG_SMP - tcb->cpu, + , tcb->cpu +#endif + , (unsigned long)tcb->adj_stack_size +#ifdef CONFIG_STACK_COLORATION + , (unsigned long)up_check_tcbstack(tcb) #endif #ifdef CONFIG_STACK_COLORATION - (unsigned long)up_check_tcbstack(tcb), -#endif - (unsigned long)tcb->adj_stack_size -#ifdef CONFIG_STACK_COLORATION - , stack_filled / 10, stack_filled % 10, - (stack_filled >= 10 * 80 ? '!' : ' ') + , stack_filled / 10, stack_filled % 10 + , (stack_filled >= 10 * 80 ? '!' : ' ') #endif #ifdef CONFIG_SCHED_CPULOAD , intpart, fracpart diff --git a/arch/risc-v/src/common/riscv_assert.c b/arch/risc-v/src/common/riscv_assert.c index b227b6e75c..7b83167198 100644 --- a/arch/risc-v/src/common/riscv_assert.c +++ b/arch/risc-v/src/common/riscv_assert.c @@ -201,10 +201,10 @@ static void riscv_dump_task(struct tcb_s *tcb, void *arg) #ifdef CONFIG_SMP " %4d" #endif + " %7lu" #ifdef CONFIG_STACK_COLORATION " %7lu" #endif - " %7lu" #ifdef CONFIG_STACK_COLORATION " %3" PRId32 ".%1" PRId32 "%%%c" #endif @@ -212,21 +212,21 @@ static void riscv_dump_task(struct tcb_s *tcb, void *arg) " %3" PRId32 ".%01" PRId32 "%%" #endif #if CONFIG_TASK_NAME_SIZE > 0 - " %s %s\n", + " %s %s\n" #else - " %s\n", + " %s\n" #endif - tcb->pid, tcb->sched_priority, + , tcb->pid, tcb->sched_priority #ifdef CONFIG_SMP - tcb->cpu, + , tcb->cpu +#endif + , (unsigned long)tcb->adj_stack_size +#ifdef CONFIG_STACK_COLORATION + , (unsigned long)up_check_tcbstack(tcb) #endif #ifdef CONFIG_STACK_COLORATION - (unsigned long)up_check_tcbstack(tcb), -#endif - (unsigned long)tcb->adj_stack_size -#ifdef CONFIG_STACK_COLORATION - , stack_filled / 10, stack_filled % 10, - (stack_filled >= 10 * 80 ? '!' : ' ') + , stack_filled / 10, stack_filled % 10 + , (stack_filled >= 10 * 80 ? '!' : ' ') #endif #ifdef CONFIG_SCHED_CPULOAD , intpart, fracpart diff --git a/arch/xtensa/src/common/xtensa_dumpstate.c b/arch/xtensa/src/common/xtensa_dumpstate.c index 0ab168eff7..b1ac1f4400 100644 --- a/arch/xtensa/src/common/xtensa_dumpstate.c +++ b/arch/xtensa/src/common/xtensa_dumpstate.c @@ -116,10 +116,10 @@ static void xtensa_dump_task(struct tcb_s *tcb, void *arg) #ifdef CONFIG_SMP " %4d" #endif + " %7lu" #ifdef CONFIG_STACK_COLORATION " %7lu" #endif - " %7lu" #ifdef CONFIG_STACK_COLORATION " %3" PRId32 ".%1" PRId32 "%%%c" #endif @@ -127,21 +127,21 @@ static void xtensa_dump_task(struct tcb_s *tcb, void *arg) " %3" PRId32 ".%01" PRId32 "%%" #endif #if CONFIG_TASK_NAME_SIZE > 0 - " %s %s\n", + " %s %s\n" #else - " %s\n", + " %s\n" #endif - tcb->pid, tcb->sched_priority, + , tcb->pid, tcb->sched_priority #ifdef CONFIG_SMP - tcb->cpu, + , tcb->cpu +#endif + , (unsigned long)tcb->adj_stack_size +#ifdef CONFIG_STACK_COLORATION + , (unsigned long)up_check_tcbstack(tcb) #endif #ifdef CONFIG_STACK_COLORATION - (unsigned long)up_check_tcbstack(tcb), -#endif - (unsigned long)tcb->adj_stack_size -#ifdef CONFIG_STACK_COLORATION - , stack_filled / 10, stack_filled % 10, - (stack_filled >= 10 * 80 ? '!' : ' ') + , stack_filled / 10, stack_filled % 10 + , (stack_filled >= 10 * 80 ? '!' : ' ') #endif #ifdef CONFIG_SCHED_CPULOAD , intpart, fracpart