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:
parent
1b023a96d9
commit
4b39fd9685
2 changed files with 15 additions and 14 deletions
|
@ -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) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue