diff options
author | 2009-01-23 14:36:16 +0100 | |
---|---|---|
committer | 2009-01-23 14:50:02 +0100 | |
commit | 4b39fd96855254a244f71245b41a91cdecb87d63 (patch) | |
tree | 28f5e9d87bea0fccda0202e106759db3de41d33d /include | |
parent | perfcounters: throttle on too high IRQ rates (diff) | |
download | linux-dev-4b39fd96855254a244f71245b41a91cdecb87d63.tar.xz linux-dev-4b39fd96855254a244f71245b41a91cdecb87d63.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/perf_counter.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 91f1ca4c01c0..f55381fbcac9 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h @@ -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) { } |