diff options
author | Helge Deller <deller@gmx.de> | 2019-01-05 20:07:27 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-02-21 20:37:11 +0100 |
commit | b102f29b2d8603f15071384e88125b8eab5f8faa (patch) | |
tree | 43c4365ce4f6849a2bcfdd4885b28714b4ba4047 /arch/parisc/kernel/irq.c | |
parent | parisc: Show rescheduling interrupts on SMP machines only (diff) | |
download | linux-b102f29b2d8603f15071384e88125b8eab5f8faa.tar.xz linux-b102f29b2d8603f15071384e88125b8eab5f8faa.zip |
parisc: Count IPI function call interrupts
Like other platforms, count the number of IPI function call interrupts
and show it in /proc/interrupts.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/irq.c')
-rw-r--r-- | arch/parisc/kernel/irq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index a1369bb54cdb..6f19f364c20a 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -180,6 +180,10 @@ int arch_show_interrupts(struct seq_file *p, int prec) for_each_online_cpu(j) seq_printf(p, "%10u ", irq_stats(j)->irq_resched_count); seq_puts(p, " Rescheduling interrupts\n"); + seq_printf(p, "%*s: ", prec, "CAL"); + for_each_online_cpu(j) + seq_printf(p, "%10u ", irq_stats(j)->irq_call_count); + seq_puts(p, " Function call interrupts\n"); } #endif seq_printf(p, "%*s: ", prec, "UAH"); |