diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-02-28 14:51:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-01 19:01:15 -0400 |
commit | 65bddd361043f9e65122c39f714d3d6471c5c0e3 (patch) | |
tree | 864cc5160d7e4222507a5eb2755f95eba2e8b1ed /arch | |
parent | 1dc877c1e87d46ba2bfaac30af5e1dde77b72d1c (diff) |
hw-breakpoints: Remove stub unthrottle callback
commit 1e259e0a9982078896f3404240096cbea01daca4 upstream.
We support event unthrottling in breakpoint events. It means
that if we have more than sysctl_perf_event_sample_rate/HZ,
perf will throttle, ignoring subsequent events until the next
tick.
So if ptrace exceeds this max rate, it will omit events, which
breaks the ptrace determinism that is supposed to report every
triggered breakpoints. This is likely to happen if we set
sysctl_perf_event_sample_rate to 1.
This patch removes support for unthrottling in breakpoint
events to break throttling and restore ptrace determinism.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/hw_breakpoint.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/hw_breakpoint.c b/arch/x86/kernel/hw_breakpoint.c index bb6006e3e295..1e8ceadc0d6a 100644 --- a/arch/x86/kernel/hw_breakpoint.c +++ b/arch/x86/kernel/hw_breakpoint.c | |||
@@ -531,8 +531,3 @@ void hw_breakpoint_pmu_read(struct perf_event *bp) | |||
531 | { | 531 | { |
532 | /* TODO */ | 532 | /* TODO */ |
533 | } | 533 | } |
534 | |||
535 | void hw_breakpoint_pmu_unthrottle(struct perf_event *bp) | ||
536 | { | ||
537 | /* TODO */ | ||
538 | } | ||