anchao opened a new pull request #5057:
URL: https://github.com/apache/incubator-nuttx/pull/5057


   ## Summary
   
   xtensa: enhance the task dump 
   
   add irq stack information
   add cpu loading
   
   ## Impact
   
   N/A, assert dump
   
   ## Testing
   
   before:
   
   ```
   Idle Task: PID=0 PRI=0 Stack Used=512 of 3048
   hpwork: PID=1 PRI=224 Stack Used=304 of 2016
   lpwork: PID=2 PRI=100 Stack Used=304 of 2016
   rptun: PID=4 PRI=224 Stack Used=856 of 2008
   ```
   
   after:
   
   ```
   [ EMERG] [ap] arm_showtasks:    PID    PRI      USED     STACK   FILLED      
 CPU   COMMAND
   [ EMERG] [ap] arm_showtasks:   ----   ----       928      2048    45.3%      
----   irq
   [ EMERG] [ap] arm_dump_task:      0      0       512      3048    16.7%     
99.4%   Idle Task
   [ EMERG] [ap] arm_dump_task:      1    224       304      2016    15.0%      
0.0%   hpwork
   [ EMERG] [ap] arm_dump_task:      2    100       304      2016    15.0%      
0.0%   lpwork
   [ EMERG] [ap] arm_dump_task:      4    224       856      2008    42.6%      
0.0%   rptun
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to