]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] hwsampler: Set a sane default sampling rate
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 22 Jun 2011 14:24:09 +0000 (16:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Jun 2011 14:24:20 +0000 (16:24 +0200)
commit8abb0e896993cf65137af8e6e959f04f17f6383a
tree98bc558b3ce9c4f044a0fc5a3f99d6da86e7b895
parentd91363b3b6d981fa8de6cc0d6aaa0f6b246e388e
[S390] hwsampler: Set a sane default sampling rate

The sampling interval for the hardware sampler is specified in cycles.
(see SA23-2260-01 The Load-Program-Parameter and the CPU-Measurement
Facilities)
The current default value will therefore result in millions of samples.
This patch changes the default sampling interval to 4M, which will
result in ~1500 samples per second on a z196 reducing the overhead
of sampling.

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