summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLike Xu <like.xu@linux.intel.com>2019-10-27 13:52:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-11-15 13:44:07 +0300
commit52ba4b0b99770e892f43da1238f437155acb8b58 (patch)
tree18ee181729eb2cea9841a2bffb72d3da055ccabd /tools/perf/scripts/python/export-to-postgresql.py
parent3ca270fc9edb258d5bfa271bcf851614e9e6e7d4 (diff)
downloadlinux-52ba4b0b99770e892f43da1238f437155acb8b58.tar.xz
perf/core: Provide a kernel-internal interface to pause perf_event
Exporting perf_event_pause() as an external accessor for kernel users (such as KVM) who may do both disable perf_event and read count with just one time to hold perf_event_ctx_lock. Also the value could be reset optionally. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Like Xu <like.xu@linux.intel.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions