diff options
author | Pu Hou <bjhoupu@linux.vnet.ibm.com> | 2016-09-01 10:48:22 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-11-16 15:06:08 +0100 |
commit | a3f22d505f56bf3efd8eecd9b7adcc40a40a4a8e (patch) | |
tree | 372ccfd4273a80b6e817b85efc6e9a02de502a1e /arch | |
parent | s390/cpumf: enable using AUX buffer (diff) | |
download | linux-a3f22d505f56bf3efd8eecd9b7adcc40a40a4a8e.tar.xz linux-a3f22d505f56bf3efd8eecd9b7adcc40a40a4a8e.zip |
s390/perf: add callback to perf to enable using AUX buffer
Perf tool need implement a callback to enable using AUX buffer. Perf
will do another mmap() to trigger the setup of AUX buffer in kernel
if there is such callback. The default size of the AUX buffer is set
properly according to the sampling frequency to avoid overflow. It
could also be manually set by -m option of perf.
The interface of perf is not changed. Diagnostic mode sampling
could be started by `perf record -e rBD000` like before.
Signed-off-by: Pu Hou <bjhoupu@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions