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>
This commit is contained in:

committed by
Ingo Molnar

parent
1b023a96d9
commit
4b39fd9685
@@ -271,8 +271,6 @@ static inline int is_software_counter(struct perf_counter *counter)
|
||||
return !counter->hw_event.raw && counter->hw_event.type < 0;
|
||||
}
|
||||
|
||||
#define PERFMON_MIN_PERIOD_NS 10000
|
||||
|
||||
#else
|
||||
static inline void
|
||||
perf_counter_task_sched_in(struct task_struct *task, int cpu) { }
|
||||
|
Reference in New Issue
Block a user