summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/slirp_kern.c
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2013-12-12 17:03:48 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-12-16 14:37:57 +0100
commit69f239ed335a4b03265cae3ca930f3f166e42e35 (patch)
tree3a3f8debcc51fa4f1e81f1f15446737bc4e04a41 /arch/um/drivers/slirp_kern.c
parent257608fb4112b4cabefd9e33a4fc2df6b64dca6a (diff)
downloadlinux-69f239ed335a4b03265cae3ca930f3f166e42e35.tar.gz
linux-69f239ed335a4b03265cae3ca930f3f166e42e35.tar.bz2
linux-69f239ed335a4b03265cae3ca930f3f166e42e35.zip
s390/cpum_sf: Dynamically extend the sampling buffer if overflows occur
Improve the sampling buffer allocation and add a function to reallocate and increase the sampling buffer structure. The number of allocated buffer elements (sample-data-blocks) are accounted. You can control the minimum and maximum number these sample-data-blocks through the cpum_sfb_size kernel parameter. The number hardware sample overflows (if any) are also accounted and stored per perf event. During the PMU disable/enable calls, the accumulated overflow counter is analyzed and, if necessary, the sampling buffer is dynamically increased. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/um/drivers/slirp_kern.c')
0 files changed, 0 insertions, 0 deletions