aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-11 05:25:05 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-11 10:48:38 -0400
commitdf58ab24bf26b166874bfb18b3b5a2e0a8e63179 (patch)
tree388b2fb9d94864c9bd6d6ab9329c31760b7366ae /include/linux/perf_counter.h
parent0764771dab80d7b84b9a271bee7f1b21a04a3f0c (diff)
perf_counter: Rename perf_counter_limit sysctl
Rename perf_counter_limit to perf_counter_max_sample_rate and prohibit creation of counters with a known higher sample frequency. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 386be915baa1..95c797c480e8 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -650,7 +650,7 @@ extern struct perf_callchain_entry *perf_callchain(struct pt_regs *regs);
650 650
651extern int sysctl_perf_counter_paranoid; 651extern int sysctl_perf_counter_paranoid;
652extern int sysctl_perf_counter_mlock; 652extern int sysctl_perf_counter_mlock;
653extern int sysctl_perf_counter_limit; 653extern int sysctl_perf_counter_sample_rate;
654 654
655extern void perf_counter_init(void); 655extern void perf_counter_init(void);
656 656