From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaldo Carvalho de Melo Subject: Re: [PATCH 0/8] Improve Python 3 support in perf Date: Thu, 28 Jun 2018 11:44:31 -0300 Message-ID: <20180628144431.GA20184@kernel.org> References: <0100016341a7217a-d48a8d8a-c7ed-4857-82ef-9e2e599364e2-000000@email.amazonses.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <0100016341a7217a-d48a8d8a-c7ed-4857-82ef-9e2e599364e2-000000@email.amazonses.com> Sender: linux-kernel-owner@vger.kernel.org To: Jeremy Cline Cc: Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , "Herton R . Krzesinski" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-perf-users.vger.kernel.org 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