diff options
author | Pu Hou <[email protected]> | 2016-11-11 03:08:49 +0100 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2017-11-16 15:06:06 +0100 |
commit | ca5955cdeae744edd3dcc65d677e833fc29658c2 (patch) | |
tree | 58a908019f1c5c74994ff17fef216988bba78154 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b192571d1ae375e0bbe0aa3ccfa1a3c3704454b9 (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 <[email protected]>
Reviewed-by: Hendrik Brueckner <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions