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:38 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-11-15 13:44:06 +0300
commit3ca270fc9edb258d5bfa271bcf851614e9e6e7d4 (patch)
tree4605da2cdbf886dac007befe055832134cf985e4 /tools/perf/scripts/python/export-to-postgresql.py
parent02d496cfb88a4856b9d67ade32317077c510aebc (diff)
downloadlinux-3ca270fc9edb258d5bfa271bcf851614e9e6e7d4.tar.xz
perf/core: Provide a kernel-internal interface to recalibrate event period
Currently, perf_event_period() is used by user tools via ioctl. Based on naming convention, exporting perf_event_period() for kernel users (such as KVM) who may recalibrate the event period for their assigned counter according to their requirements. The perf_event_period() is an external accessor, just like the perf_event_{en,dis}able() and should thus use perf_event_ctx_lock(). Suggested-by: Kan Liang <kan.liang@linux.intel.com> 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