perf_counter: Rename perf_counter_limit sysctl
commitdf58ab24bf26b166874bfb18b3b5a2e0a8e63179
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 11 Jun 2009 09:25:05 +0000 (11 11:25 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Jun 2009 14:48:38 +0000 (11 16:48 +0200)
tree388b2fb9d94864c9bd6d6ab9329c31760b7366ae
parent0764771dab80d7b84b9a271bee7f1b21a04a3f0c
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>
include/linux/perf_counter.h
kernel/perf_counter.c
kernel/sysctl.c