diff options
author | Anup Patel <[email protected]> | 2018-10-02 12:15:07 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2018-10-22 17:03:37 -0700 |
commit | 8b20d2db0a6d2761e0fc156eb74f7a55b92b3147 (patch) | |
tree | 1a5a6b213805d6cec82f940351b7aed614fde409 /scripts/gdb/linux | |
parent | 4b26d22fdff1e39647cc5952b01d329e83dedfe1 (diff) |
RISC-V: Show IPI stats
This patch provides arch_show_interrupts() implementation to
show IPI stats via /proc/interrupts.
Now the contents of /proc/interrupts" will look like below:
CPU0 CPU1 CPU2 CPU3
8: 17 7 6 14 SiFive PLIC 8 virtio0
10: 10 10 9 11 SiFive PLIC 10 ttyS0
IPI0: 170 673 251 79 Rescheduling interrupts
IPI1: 1 12 27 1 Function call interrupts
Signed-off-by: Anup Patel <[email protected]>
[Atish - Fixed checkpatch errors]
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Changes since v2:
- Remove use of IPI_CALL_WAKEUP because it's being removed
Changes since v1:
- Add stub inline show_ipi_stats() function for !CONFIG_SMP
- Make ipi_names[] dynamically sized at compile time
- Minor beautification of ipi_names[] using tabs
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions