summaryrefslogtreecommitdiff
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorPu Hou <bjhoupu@linux.vnet.ibm.com>2016-11-11 03:08:49 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-11-16 15:06:06 +0100
commitca5955cdeae744edd3dcc65d677e833fc29658c2 (patch)
tree58a908019f1c5c74994ff17fef216988bba78154 /arch/s390/mm
parentb192571d1ae375e0bbe0aa3ccfa1a3c3704454b9 (diff)
s390/cpumf: introduce AUX buffer for dump diagnostic sample data
Current implementation uses a private buffer for cpumf to dump samples. Samples first go to this buffer. Then copy to ring buffer allocated by perf core. With AUX buffer, this copy is not needed. AUX buffer is shared and zero-copy mapped to user space. The trailer information at the end of each SDB(sample data block) is also exported to user space. AUX buffer is used when diagnostic sampling mode is enabled. This patch contains functions to setup/free AUX buffer or to begin/end sampling per-cpu. Also include function called in interrupt to collect samples. 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/s390/mm')
0 files changed, 0 insertions, 0 deletions