perfcounters: ratelimit performance counter interrupts
authorMike Galbraith <efault@gmx.de>
Fri, 23 Jan 2009 13:36:16 +0000 (14:36 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 23 Jan 2009 13:50:02 +0000 (14:50 +0100)
commit4b39fd96855254a244f71245b41a91cdecb87d63
tree28f5e9d87bea0fccda0202e106759db3de41d33d
parent1b023a96d9b44f50f4d8ff28c15f5b80e354760f
perfcounters: ratelimit performance counter interrupts

Ratelimit performance counter interrupts to 100KHz per CPU.

This replaces the irq-delta-time based method.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c
include/linux/perf_counter.h