diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-05-04 19:19:35 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 12:40:29 +0200 |
commit | e360cd37f0e9bac7b5f623132549e2d4b6417399 (patch) | |
tree | bbaa60cc53c21e1a5b7dd2efe18850e585712ec9 /arch/powerpc/kernel/time.c | |
parent | powerpc: move a stray NMI IPI case under NMI_IPI ifdef (diff) | |
download | linux-e360cd37f0e9bac7b5f623132549e2d4b6417399.tar.xz linux-e360cd37f0e9bac7b5f623132549e2d4b6417399.zip |
powerpc/time: account broadcast timer event interrupts separately
These are not local timer interrupts but IPIs. It's good to be able
to see how timer offloading is behaving, so split these out into
their own category.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-rw-r--r-- | arch/powerpc/kernel/time.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 23921f7b6e67..ed6b2abdde15 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c @@ -647,13 +647,10 @@ EXPORT_SYMBOL(timer_interrupt); void timer_broadcast_interrupt(void) { u64 *next_tb = this_cpu_ptr(&decrementers_next_tb); - struct pt_regs *regs = get_irq_regs(); - trace_timer_interrupt_entry(regs); *next_tb = ~(u64)0; tick_receive_broadcast(); - __this_cpu_inc(irq_stat.timer_irqs_event); - trace_timer_interrupt_exit(regs); + __this_cpu_inc(irq_stat.broadcast_irqs_event); } #endif |