diff options
Diffstat (limited to 'arch/x86/kernel/irq_64.c')
-rw-r--r-- | arch/x86/kernel/irq_64.c | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c index 865669efc540..3881189df8ee 100644 --- a/arch/x86/kernel/irq_64.c +++ b/arch/x86/kernel/irq_64.c | |||
@@ -86,11 +86,37 @@ skip: | |||
86 | seq_printf(p, "NMI: "); | 86 | seq_printf(p, "NMI: "); |
87 | for_each_online_cpu(j) | 87 | for_each_online_cpu(j) |
88 | seq_printf(p, "%10u ", cpu_pda(j)->__nmi_count); | 88 | seq_printf(p, "%10u ", cpu_pda(j)->__nmi_count); |
89 | seq_putc(p, '\n'); | 89 | seq_printf(p, " Non-maskable interrupts\n"); |
90 | seq_printf(p, "LOC: "); | 90 | seq_printf(p, "LOC: "); |
91 | for_each_online_cpu(j) | 91 | for_each_online_cpu(j) |
92 | seq_printf(p, "%10u ", cpu_pda(j)->apic_timer_irqs); | 92 | seq_printf(p, "%10u ", cpu_pda(j)->apic_timer_irqs); |
93 | seq_putc(p, '\n'); | 93 | seq_printf(p, " Local timer interrupts\n"); |
94 | #ifdef CONFIG_SMP | ||
95 | seq_printf(p, "RES: "); | ||
96 | for_each_online_cpu(j) | ||
97 | seq_printf(p, "%10u ", cpu_pda(j)->irq_resched_count); | ||
98 | seq_printf(p, " Rescheduling interrupts\n"); | ||
99 | seq_printf(p, "CAL: "); | ||
100 | for_each_online_cpu(j) | ||
101 | seq_printf(p, "%10u ", cpu_pda(j)->irq_call_count); | ||
102 | seq_printf(p, " function call interrupts\n"); | ||
103 | seq_printf(p, "TLB: "); | ||
104 | for_each_online_cpu(j) | ||
105 | seq_printf(p, "%10u ", cpu_pda(j)->irq_tlb_count); | ||
106 | seq_printf(p, " TLB shootdowns\n"); | ||
107 | #endif | ||
108 | seq_printf(p, "TRM: "); | ||
109 | for_each_online_cpu(j) | ||
110 | seq_printf(p, "%10u ", cpu_pda(j)->irq_thermal_count); | ||
111 | seq_printf(p, " Thermal event interrupts\n"); | ||
112 | seq_printf(p, "THR: "); | ||
113 | for_each_online_cpu(j) | ||
114 | seq_printf(p, "%10u ", cpu_pda(j)->irq_threshold_count); | ||
115 | seq_printf(p, " Threshold APIC interrupts\n"); | ||
116 | seq_printf(p, "SPU: "); | ||
117 | for_each_online_cpu(j) | ||
118 | seq_printf(p, "%10u ", cpu_pda(j)->irq_spurious_count); | ||
119 | seq_printf(p, " Spurious interrupts\n"); | ||
94 | seq_printf(p, "ERR: %10u\n", atomic_read(&irq_err_count)); | 120 | seq_printf(p, "ERR: %10u\n", atomic_read(&irq_err_count)); |
95 | } | 121 | } |
96 | return 0; | 122 | return 0; |