]> 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)
commit6e1776e47a6fa53c9bd4a184ae139d429f280bdb
tree98bc558b3ce9c4f044a0fc5a3f99d6da86e7b895
parent05b4f2b196a5c2ab197efdc71a0a480277df864d
[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