summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events
diff options
context:
space:
mode:
authorRoman Lozko <lozko.roma@gmail.com>2023-03-10 18:04:45 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-03-14 14:46:23 +0300
commit1f64cfdebfe0494264271e8d7a3a47faf5f58ec7 (patch)
tree869af89bec2163542c29e08307fa89adb5933729 /tools/perf/pmu-events
parent0e70f50e72860f84759b62dae877c48523d33255 (diff)
downloadlinux-1f64cfdebfe0494264271e8d7a3a47faf5f58ec7.tar.xz
perf scripts intel-pt-events.py: Fix IPC output for Python 2
Integers are not converted to floats during division in Python 2 which results in incorrect IPC values. Fix by switching to new division behavior. Fixes: a483e64c0b62e93a ("perf scripting python: intel-pt-events.py: Add --insn-trace and --src-trace") Signed-off-by: Roman Lozko <lozko.roma@gmail.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20230310150445.2925841-1-lozko.roma@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events')
0 files changed, 0 insertions, 0 deletions