Re: [PATCH 0/8] Improve Python 3 support in perf
From: Arnaldo Carvalho de Melo
Date: Thu Jun 28 2018 - 10:44:40 EST
Em Tue, May 08, 2018 at 09:27:42PM +0000, Jeremy Cline escreveu:
> Hi folks,
>
> This patch set adds Python 3 support to a number of perf scripts,
> including those generated by "perf script -g python", without breaking
> Python 2 compatibility.
Argh, this fell thru the cracks, sorry, all seems ok, applied,
- Arnaldo
> Jeremy Cline (8):
> perf tools: Generate a Python script compatible with Python 2 and 3
> perf scripts python: Add Python 3 support to Core.py
> perf scripts python: Add Python 3 support to SchedGui.py
> perf scripts python: Add Python 3 support to Util.py
> perf scripts python: Add Python 3 support to EventClass.py
> perf scripts python: Add Python 3 support to sched-migration.py
> perf scripts python: Add Python 3 support to stat-cpi.py
> perf tests: Add Python 3 support to attr.py
>
> .../Perf-Trace-Util/lib/Perf/Trace/Core.py | 40 ++++++++-----------
> .../lib/Perf/Trace/EventClass.py | 4 +-
> .../lib/Perf/Trace/SchedGui.py | 2 +-
> .../Perf-Trace-Util/lib/Perf/Trace/Util.py | 11 ++---
> tools/perf/scripts/python/sched-migration.py | 14 ++++---
> tools/perf/scripts/python/stat-cpi.py | 5 ++-
> tools/perf/tests/attr.py | 32 +++++++++------
> .../scripting-engines/trace-event-python.c | 29 +++++++-------
> 8 files changed, 74 insertions(+), 63 deletions(-)
>
> --
> 2.17.0