]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] s390: enforce HW limits for the initial sampling rate
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 22 Jun 2011 14:24:08 +0000 (16:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Jun 2011 14:24:20 +0000 (16:24 +0200)
commitd91363b3b6d981fa8de6cc0d6aaa0f6b246e388e
tree6c648c5f2085976be8d53afbad60696288296bec
parent3085e69cf2a0582c2bf51d2682fee35c74e2f8cb
[S390] s390: enforce HW limits for the initial sampling rate

On specific configurations with hwsampler opcontrol --start returns an
error on "echo 1 >/dev/oprofile/enable". Turns out that the hw sampling
interval is not checked against the hardware limits.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/oprofile/init.c