[PATCH 0/7] perf intel-pt: CBR improvements
From: Adrian Hunter
Date: Sat Jun 22 2019 - 05:34:12 EST
Hi
Here are some improvements for the handling of core-to-bus ratio (CBR),
including exporting it.
Adrian Hunter (7):
perf intel-pt: Decoder to output CBR changes immediately
perf intel-pt: Cater for CBR change in PSB+
perf intel-pt: Add CBR value to decoder state
perf intel-pt: Synthesize CBR events when last seen value changes
perf db-export: Export synth events
perf scripts python: export-to-sqlite.py: Export Intel PT power and ptwrite events
perf scripts python: export-to-postgresql.py: Export Intel PT power and ptwrite events
tools/perf/scripts/python/export-to-postgresql.py | 251 +++++++++++++++++++++
tools/perf/scripts/python/export-to-sqlite.py | 239 ++++++++++++++++++++
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 24 +-
.../perf/util/intel-pt-decoder/intel-pt-decoder.h | 1 +
tools/perf/util/intel-pt.c | 65 ++++--
.../util/scripting-engines/trace-event-python.c | 46 +++-
6 files changed, 590 insertions(+), 36 deletions(-)a
Regards
Adrian