diff --git a/subsys/debug/thread_analyzer.c b/subsys/debug/thread_analyzer.c index 9b161cbc52b..5c8b2c65b55 100644 --- a/subsys/debug/thread_analyzer.c +++ b/subsys/debug/thread_analyzer.c @@ -50,14 +50,15 @@ static void thread_print_cb(struct thread_analyzer_info *info) #ifdef CONFIG_SCHED_THREAD_USAGE THREAD_ANALYZER_PRINT( - THREAD_ANALYZER_FMT(" : Total CPU cycles used: %llu"), - info->usage.total_cycles); + THREAD_ANALYZER_FMT(" %-20s: Total CPU cycles used: %llu"), + " ", info->usage.total_cycles); #ifdef CONFIG_SCHED_THREAD_USAGE_ANALYSIS THREAD_ANALYZER_PRINT( THREAD_ANALYZER_FMT( - " - Current Frame: %llu; Longest Frame: %llu; Average Frame: %llu"), - info->usage.current_cycles, info->usage.peak_cycles, + " %-20s: Current Frame: %llu;" + " Longest Frame: %llu; Average Frame: %llu"), + " ", info->usage.current_cycles, info->usage.peak_cycles, info->usage.average_cycles); #endif #endif