]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit6815823431296082fa20c2f14007e194424660b8
tree98bc558b3ce9c4f044a0fc5a3f99d6da86e7b895
parentb530ce7a1af5a9355be518557d86b33c6d2cf088
[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