Home
last modified time | relevance | path

Searched hist:a3f22d505f56bf3efd8eecd9b7adcc40a40a4a8e (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/arch/s390/util/
H A Dauxtrace.ca3f22d505f56bf3efd8eecd9b7adcc40a40a4a8e Thu Sep 01 10:48:22 CEST 2016 Pu Hou <bjhoupu@linux.vnet.ibm.com> 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>
H A DBuilddiff a3f22d505f56bf3efd8eecd9b7adcc40a40a4a8e Thu Sep 01 10:48:22 CEST 2016 Pu Hou <bjhoupu@linux.vnet.ibm.com> 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>