mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[S390] irq: have detailed statistics for interrupt types
Up to now /proc/interrupts only has statistics for external and i/o interrupts but doesn't split up them any further. This patch adds a line for every single interrupt source so that it is possible to easier tell what the machine is/was doing. Part of the output now looks like this; CPU0 CPU2 CPU4 EXT: 3898 4232 2305 I/O: 782 315 245 CLK: 1029 1964 727 [EXT] Clock Comparator IPI: 2868 2267 1577 [EXT] Signal Processor TMR: 0 0 0 [EXT] CPU Timer TAL: 0 0 0 [EXT] Timing Alert PFL: 0 0 0 [EXT] Pseudo Page Fault [...] NMI: 0 1 1 [NMI] Machine Checks Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
545b288dcb
commit
052ff461c8
11 changed files with 56 additions and 20 deletions
|
@ -324,6 +324,7 @@ static void do_cpu_timer_interrupt(unsigned int ext_int_code,
|
|||
struct list_head cb_list; /* the callback queue */
|
||||
__u64 elapsed, next;
|
||||
|
||||
kstat_cpu(smp_processor_id()).irqs[EXTINT_TMR]++;
|
||||
INIT_LIST_HEAD(&cb_list);
|
||||
vq = &__get_cpu_var(virt_cpu_timer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue