XuNeo opened a new pull request, #15743:
URL: https://github.com/apache/nuttx/pull/15743

   
   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   Similar to nsh command, `irqinfo` shows the registered IRQ callbacks and 
arguements.
   Arguements is shown as a function when possible.
   If intrumentation is enabled, it also prints the IRQ count etc.
   
   ```
   (gdb) irqinfo
   IRQ  COUNT      TIME   RATE   HANDLER                                        
  ARGUMENT
   0    0          0      N/A    mps_reserved                             0x0 
<sensor_unregister>
   2    0          0      N/A    mps_nmi                                  0x0 
<sensor_unregister>
   3    0          0      N/A    arm_hardfault                            0x0 
<sensor_unregister>
   4    0          0      N/A    arm_memfault                             0x0 
<sensor_unregister>
   5    0          0      N/A    arm_busfault                             0x0 
<sensor_unregister>
   6    0          0      N/A    arm_usagefault                           0x0 
<sensor_unregister>
   11   1          0      N/A    arm_svcall                               0x0 
<sensor_unregister>
   12   0          0      N/A    arm_dbgmonitor                           0x0 
<up_debugpoint_remove>
   14   0          0      N/A    mps_pendsv                               0x0 
<up_debugpoint_remove>
   15   6581421    0      N/A    systick_interrupt                        
0x100010c <g_systick_lower>
   49   2          0      N/A    uart_cmsdk_tx_interrupt                  
0x1000010 <g_uart0port>
   50   0          0      N/A    uart_cmsdk_rx_interrupt                  
0x1000010 <g_uart0port>
   59   2          0      N/A    uart_cmsdk_ov_interrupt                  
0x1000010 <g_uart0port>
   (gdb)
   
   ```
   ## Impact
   
   New feature.
   
   ## Testing
   
   Tested with qemu live debugging.
   
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to